Checkstyle.

This commit is contained in:
Doublestrike
2012-01-22 08:06:42 +00:00
parent 682a02bd93
commit a8fb5afb5d

View File

@@ -6,7 +6,6 @@ import forge.AllZoneUtil;
import forge.Card;
import forge.Constant.Zone;
import forge.card.spellability.SpellAbility;
import forge.PlayerZone;
/**
* TODO: Write javadoc for this type.
@@ -14,8 +13,14 @@ import forge.PlayerZone;
*/
public class ReplaceMoved extends ReplacementEffect {
public ReplaceMoved(final HashMap<String,String> mapParams,final Card host) {
super(mapParams,host);
/**
*
* TODO: Write javadoc for Constructor.
* @param mapParams &emsp; HashMap<String, String>
* @param host &emsp; Card
*/
public ReplaceMoved(final HashMap<String, String> mapParams, final Card host) {
super(mapParams, host);
}
/* (non-Javadoc)
@@ -33,13 +38,13 @@ public class ReplaceMoved extends ReplacementEffect {
}
if (this.getMapParams().containsKey("Origin")) {
Zone z = Zone.smartValueOf(this.getMapParams().get("Origin"));
if(z != (Zone)runParams.get("Origin")) {
if (z != (Zone) runParams.get("Origin")) {
return false;
}
}
if (this.getMapParams().containsKey("Destination")) {
Zone z = Zone.smartValueOf(this.getMapParams().get("Destination"));
if(z != (Zone)runParams.get("Destination")) {
if (z != (Zone) runParams.get("Destination")) {
return false;
}
}
@@ -52,7 +57,7 @@ public class ReplaceMoved extends ReplacementEffect {
*/
@Override
public ReplacementEffect getCopy() {
return new ReplaceMoved(this.getMapParams(),this.getHostCard());
return new ReplaceMoved(this.getMapParams(), this.getHostCard());
}
/* (non-Javadoc)