mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
refactor: removed netbeans's auto-generated comments
This commit is contained in:
parent
344ff81a37
commit
8a65b0f149
27 changed files with 33 additions and 33 deletions
|
|
@ -145,7 +145,7 @@ public class ColorPane extends JEditorPane {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setText(String string) {
|
public void setText(String string) {
|
||||||
super.setText(string); //To change body of generated methods, choose Tools | Templates.
|
super.setText(string);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void append(String text) {
|
public void append(String text) {
|
||||||
|
|
|
||||||
|
|
@ -447,7 +447,7 @@ public class TableModel extends AbstractTableModel implements ICardGrid {
|
||||||
if (numberEditable && col == 0) {
|
if (numberEditable && col == 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return super.isCellEditable(row, col); //To change body of generated methods, choose Tools | Templates.
|
return super.isCellEditable(row, col);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ public class DraftPane extends MagePane {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void changeGUISize() {
|
public void changeGUISize() {
|
||||||
super.changeGUISize(); //To change body of generated methods, choose Tools | Templates.
|
super.changeGUISize();
|
||||||
draftPanel1.changeGUISize();
|
draftPanel1.changeGUISize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -304,7 +304,7 @@ public class CountryComboBox extends JComboBox {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object getSelectedItem() {
|
public Object getSelectedItem() {
|
||||||
return super.getSelectedItem(); //To change body of generated methods, choose Tools | Templates.
|
return super.getSelectedItem();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2874,7 +2874,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void cleanUpOnMatchEnd() {
|
public void cleanUpOnMatchEnd() {
|
||||||
super.cleanUpOnMatchEnd(); //To change body of generated methods, choose Tools | Templates.
|
super.cleanUpOnMatchEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ class ChangeCreatureTypeTargetEffect extends ContinuousEffectImpl {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
super.init(source, game);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -140,6 +140,6 @@ class OpportunisticDragonAttackBlockEffect extends CantAttackBlockTargetEffect {
|
||||||
discard();
|
discard();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return super.applies(permanent, source, game); //To change body of generated methods, choose Tools | Templates.
|
return super.applies(permanent, source, game);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -153,6 +153,6 @@ class SirenStormtamerTargetObject extends TargetObject {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Filter getFilter() {
|
public Filter getFilter() {
|
||||||
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1386,12 +1386,12 @@ public class PlayerStub implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public PlanarDieRollResult rollPlanarDie(Outcome outcome, Ability source, Game game, int numberChaosSides, int numberPlanarSides) {
|
public PlanarDieRollResult rollPlanarDie(Outcome outcome, Ability source, Game game, int numberChaosSides, int numberPlanarSides) {
|
||||||
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<UUID> getTurnControllers() {
|
public List<UUID> getTurnControllers() {
|
||||||
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ public class TournamentStub implements Tournament {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ResultProtos.TourneyProto toProto() {
|
public ResultProtos.TourneyProto toProto() {
|
||||||
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -111,17 +111,17 @@ public class ConditionalContinuousRuleModifyingEffect extends ContinuousRuleModi
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean sendMessageToGameLog() {
|
public boolean sendMessageToGameLog() {
|
||||||
return effect.sendMessageToGameLog(); //To change body of generated methods, choose Tools | Templates.
|
return effect.sendMessageToGameLog();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean sendMessageToUser() {
|
public boolean sendMessageToUser() {
|
||||||
return effect.sendMessageToUser(); //To change body of generated methods, choose Tools | Templates.
|
return effect.sendMessageToUser();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getInfoMessage(Ability source, GameEvent event, Game game) {
|
public String getInfoMessage(Ability source, GameEvent event, Game game) {
|
||||||
return effect.getInfoMessage(source, event, game); //To change body of generated methods, choose Tools | Templates.
|
return effect.getInfoMessage(source, event, game);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ public class CantBeRegeneratedSourceEffect extends ContinuousRuleModifyingEffect
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init(Ability source, Game game) {
|
public void init(Ability source, Game game) {
|
||||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
super.init(source, game);
|
||||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||||
// If source permanent is no longer onto battlefield discard the effect
|
// If source permanent is no longer onto battlefield discard the effect
|
||||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ public class PreventDamageToSourceEffect extends PreventionEffectImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init(Ability source, Game game) {
|
public void init(Ability source, Game game) {
|
||||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
super.init(source, game);
|
||||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||||
// If source permanent is no longer onto battlefield discard the effect
|
// If source permanent is no longer onto battlefield discard the effect
|
||||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ public class BecomesColorTargetEffect extends ContinuousEffectImpl {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
super.init(source, game);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ public class GainProtectionFromColorTargetEffect extends GainAbilityTargetEffect
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init(Ability source, Game game) {
|
public void init(Ability source, Game game) {
|
||||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
super.init(source, game);
|
||||||
MageObject sourceObject = game.getObject(source);
|
MageObject sourceObject = game.getObject(source);
|
||||||
Player controller = game.getPlayer(source.getControllerId());
|
Player controller = game.getPlayer(source.getControllerId());
|
||||||
if (sourceObject != null && controller != null) {
|
if (sourceObject != null && controller != null) {
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ public class LoseAbilitySourceEffect extends ContinuousEffectImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init(Ability source, Game game) {
|
public void init(Ability source, Game game) {
|
||||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
super.init(source, game);
|
||||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||||
// If source permanent is no longer onto battlefield discard the effect
|
// If source permanent is no longer onto battlefield discard the effect
|
||||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ public class LoseArtifactTypeTargetEffect extends ContinuousEffectImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init(Ability source, Game game) {
|
public void init(Ability source, Game game) {
|
||||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
super.init(source, game);
|
||||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||||
// If source permanent is no longer onto battlefield discard the effect
|
// If source permanent is no longer onto battlefield discard the effect
|
||||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ public class LoseCreatureTypeSourceEffect extends ContinuousEffectImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init(Ability source, Game game) {
|
public void init(Ability source, Game game) {
|
||||||
super.init(source, game); //To change body of generated methods, choose Tools | Templates.
|
super.init(source, game);
|
||||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||||
// If source permanent is no longer onto battlefield discard the effect
|
// If source permanent is no longer onto battlefield discard the effect
|
||||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ public class SwitchPowerToughnessSourceEffect extends ContinuousEffectImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init(Ability source, Game game) {
|
public void init(Ability source, Game game) {
|
||||||
super.init(source, game); // To change body of generated methods, choose Tools | Templates.
|
super.init(source, game);
|
||||||
if (duration.isOnlyValidIfNoZoneChange()) {
|
if (duration.isOnlyValidIfNoZoneChange()) {
|
||||||
// If source permanent is no longer onto battlefield discard the effect
|
// If source permanent is no longer onto battlefield discard the effect
|
||||||
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
if (source.getSourcePermanentIfItStillExists(game) == null) {
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ public class AddConditionalManaEffect extends ManaEffect {
|
||||||
}
|
}
|
||||||
return maxAvailableMana;
|
return maxAvailableMana;
|
||||||
}
|
}
|
||||||
return super.getNetMana(game, source); //To change body of generated methods, choose Tools | Templates.
|
return super.getNetMana(game, source);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ public class SoulshiftAbility extends DiesSourceTriggeredAbility {
|
||||||
filter.add(new ManaValuePredicate(ComparisonType.FEWER_THAN, intValue + 1));
|
filter.add(new ManaValuePredicate(ComparisonType.FEWER_THAN, intValue + 1));
|
||||||
filter.add(SubType.SPIRIT.getPredicate());
|
filter.add(SubType.SPIRIT.getPredicate());
|
||||||
this.addTarget(new TargetCardInYourGraveyard(filter));
|
this.addTarget(new TargetCardInYourGraveyard(filter));
|
||||||
super.trigger(game, controllerId, triggeringEvent); //To change body of generated methods, choose Tools | Templates.
|
super.trigger(game, controllerId, triggeringEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,6 @@ public final class EldraziScionToken extends TokenImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EldraziScionToken copy() {
|
public EldraziScionToken copy() {
|
||||||
return new EldraziScionToken(this); //To change body of generated methods, choose Tools | Templates.
|
return new EldraziScionToken(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,6 @@ public final class EldraziSliverToken extends TokenImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public EldraziSliverToken copy() {
|
public EldraziSliverToken copy() {
|
||||||
return new EldraziSliverToken(this); //To change body of generated methods, choose Tools | Templates.
|
return new EldraziSliverToken(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,6 @@ public final class SoldierTokenWithHaste extends TokenImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SoldierTokenWithHaste copy() {
|
public SoldierTokenWithHaste copy() {
|
||||||
return new SoldierTokenWithHaste(this); //To change body of generated methods, choose Tools | Templates.
|
return new SoldierTokenWithHaste(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1115,17 +1115,17 @@ public class Spell extends StackObjectImpl implements Card {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<UUID> getAttachments() {
|
public List<UUID> getAttachments() {
|
||||||
throw new UnsupportedOperationException("Not supported."); //To change body of generated methods, choose Tools | Templates.
|
throw new UnsupportedOperationException("Not supported.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean addAttachment(UUID permanentId, Ability source, Game game) {
|
public boolean addAttachment(UUID permanentId, Ability source, Game game) {
|
||||||
throw new UnsupportedOperationException("Not supported."); //To change body of generated methods, choose Tools | Templates.
|
throw new UnsupportedOperationException("Not supported.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean removeAttachment(UUID permanentId, Ability source, Game game) {
|
public boolean removeAttachment(UUID permanentId, Ability source, Game game) {
|
||||||
throw new UnsupportedOperationException("Not supported."); //To change body of generated methods, choose Tools | Templates.
|
throw new UnsupportedOperationException("Not supported.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -521,12 +521,12 @@ public class StackAbility extends StackObjectImpl implements Ability {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean activateAlternateOrAdditionalCosts(MageObject sourceObject, boolean noMana, Player controller, Game game) {
|
public boolean activateAlternateOrAdditionalCosts(MageObject sourceObject, boolean noMana, Player controller, Game game) {
|
||||||
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getGameLogMessage(Game game) {
|
public String getGameLogMessage(Game game) {
|
||||||
throw new UnsupportedOperationException("Not supported."); //To change body of generated methods, choose Tools | Templates.
|
throw new UnsupportedOperationException("Not supported.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ public class TargetCreatureOrPlaneswalker extends TargetPermanent {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return super.isLegal(source, game); //To change body of generated methods, choose Tools | Templates.
|
return super.isLegal(source, game);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue