- Fixed some minor checkstyle errors (mostly trailing linespaces)

This commit is contained in:
moomarc
2012-09-07 08:44:41 +00:00
parent f976868b0c
commit 9e5ec17ecf
2 changed files with 28 additions and 28 deletions

View File

@@ -2818,8 +2818,7 @@ public class AbilityFactory {
final AbilityFactory af = sa.getAbilityFactory(); final AbilityFactory af = sa.getAbilityFactory();
if (af == null) { if (af == null) {
sa.resolve(); sa.resolve();
if(sa.getSubAbility() != null) if (sa.getSubAbility() != null) {
{
resolve(sa.getSubAbility(), usedStack); resolve(sa.getSubAbility(), usedStack);
} }
return; return;

View File

@@ -4825,8 +4825,7 @@ public class CardFactoryUtil {
for (String kw : card.getKeyword()) { for (String kw : card.getKeyword()) {
if (kw.startsWith("ETBReplacement")) if (kw.startsWith("ETBReplacement")) {
{
String[] splitkw = kw.split(":"); String[] splitkw = kw.split(":");
ReplacementLayer layer = ReplacementLayer.smartValueOf(splitkw[1]); ReplacementLayer layer = ReplacementLayer.smartValueOf(splitkw[1]);
AbilityFactory af = new AbilityFactory(); AbilityFactory af = new AbilityFactory();
@@ -4864,7 +4863,9 @@ public class CardFactoryUtil {
/** /**
* TODO: Write javadoc for Constructor. * TODO: Write javadoc for Constructor.
* @param sourceCard * @param sourceCard
* the source card
* @param tgt * @param tgt
* the target
*/ */
public ETBReplacementMove(Card sourceCard, Target tgt) { public ETBReplacementMove(Card sourceCard, Target tgt) {
super(sourceCard, tgt); super(sourceCard, tgt);