| @@ -663,7 +663,7 @@ public class MacroDef extends AntlibDefinition { | |||||
| @Override | @Override | ||||
| public boolean equals(Object obj) { | public boolean equals(Object obj) { | ||||
| if (obj == this) { | if (obj == this) { | ||||
| return true; | |||||
| return true; | |||||
| } | } | ||||
| if (obj == null || !obj.getClass().equals(getClass())) { | if (obj == null || !obj.getClass().equals(getClass())) { | ||||
| return false; | return false; | ||||
| @@ -89,7 +89,7 @@ public final class Enumerations { | |||||
| * } | * } | ||||
| * </pre> | * </pre> | ||||
| */ | */ | ||||
| class CompoundEnumeration<T> implements Enumeration<T> { | |||||
| class CompoundEnumeration<T> implements Enumeration<T> { | |||||
| /** enumeration array */ | /** enumeration array */ | ||||
| private Enumeration<? extends T>[] enumArray; | private Enumeration<? extends T>[] enumArray; | ||||
| @@ -113,7 +113,7 @@ public final class Enumerations { | |||||
| public boolean hasMoreElements() { | public boolean hasMoreElements() { | ||||
| while (index < enumArray.length) { | while (index < enumArray.length) { | ||||
| if (enumArray[index] != null && enumArray[index].hasMoreElements()) { | if (enumArray[index] != null && enumArray[index].hasMoreElements()) { | ||||
| return true; | |||||
| return true; | |||||
| } | } | ||||
| index++; | index++; | ||||
| } | } | ||||
| @@ -168,7 +168,7 @@ public class BuildFileRule extends ExternalResource { | |||||
| * | * | ||||
| * @param targetName the target in the currently configured build file to run. | * @param targetName the target in the currently configured build file to run. | ||||
| */ | */ | ||||
| public void executeTarget(String targetName) { | |||||
| public void executeTarget(String targetName) { | |||||
| outputBuffer = new StringBuffer(); | outputBuffer = new StringBuffer(); | ||||
| PrintStream out = new PrintStream(new AntOutputStream(outputBuffer)); | PrintStream out = new PrintStream(new AntOutputStream(outputBuffer)); | ||||
| errorBuffer = new StringBuffer(); | errorBuffer = new StringBuffer(); | ||||