style fixes

filters should be declared `private static final`
This commit is contained in:
xenohedron 2025-06-21 18:45:24 -04:00
parent a935045e1f
commit 78e1ef6271
21 changed files with 66 additions and 47 deletions

View file

@ -10,12 +10,12 @@ import mage.game.Game;
* @author stravant
*/
public class EffectKeyValue implements DynamicValue {
private final String key;
private final String description;
public EffectKeyValue(String key) {
this.key = key;
this.description = key;
this(key, key);
}
public EffectKeyValue(String key, String description) {
@ -25,11 +25,11 @@ public class EffectKeyValue implements DynamicValue {
@Override
public int calculate(Game game, Ability sourceAbility, Effect effect) {
return (Integer)effect.getValue(key);
return (Integer) effect.getValue(key);
}
@Override
public EffectKeyValue copy(){
public EffectKeyValue copy() {
return new EffectKeyValue(this.key, this.description);
}

View file

@ -9,10 +9,11 @@ import mage.game.Game;
*
* @author notgreat
*/
public enum DefineByTriggerTargetAdjuster implements TargetAdjuster{
public enum DefineByTriggerTargetAdjuster implements TargetAdjuster {
instance;
@Override
public void adjustTargets(Ability ability, Game game){
public void adjustTargets(Ability ability, Game game) {
//Do nothing
}
}