git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476579 13f79535-47bb-0310-9956-ffa450edef68master
@@ -43,6 +43,8 @@ public class AptExternalCompilerAdapter extends DefaultCompilerAdapter { | |||||
/** | /** | ||||
* Performs a compile using the Javac externally. | * Performs a compile using the Javac externally. | ||||
* @return true the compilation was successful. | |||||
* @throws BuildException if there is a problem. | |||||
*/ | */ | ||||
public boolean execute() throws BuildException { | public boolean execute() throws BuildException { | ||||
attributes.log("Using external apt compiler", Project.MSG_VERBOSE); | attributes.log("Using external apt compiler", Project.MSG_VERBOSE); | ||||
@@ -18,7 +18,6 @@ | |||||
package org.apache.tools.ant.taskdefs.compilers; | package org.apache.tools.ant.taskdefs.compilers; | ||||
import java.io.IOException; | |||||
import java.io.OutputStream; | import java.io.OutputStream; | ||||
import java.lang.reflect.Constructor; | import java.lang.reflect.Constructor; | ||||
import java.lang.reflect.Method; | import java.lang.reflect.Method; | ||||
@@ -166,7 +166,8 @@ public class Jikes extends DefaultCompilerAdapter { | |||||
if (!Project.toBoolean(warningsProperty)) { | if (!Project.toBoolean(warningsProperty)) { | ||||
cmd.createArgument().setValue("-nowarn"); | cmd.createArgument().setValue("-nowarn"); | ||||
} | } | ||||
} if (attributes.getNowarn()) { | |||||
} | |||||
if (attributes.getNowarn()) { | |||||
cmd.createArgument().setValue("-nowarn"); | cmd.createArgument().setValue("-nowarn"); | ||||
} | } | ||||
@@ -51,7 +51,7 @@ public class Sj extends DefaultCompilerAdapter { | |||||
/** | /** | ||||
* Returns null since sj either has -g for debug=true or no | * Returns null since sj either has -g for debug=true or no | ||||
* argument at all. | * argument at all. | ||||
* | |||||
* @return null. | |||||
* @since Ant 1.6.3 | * @since Ant 1.6.3 | ||||
*/ | */ | ||||
protected String getNoDebugArgument() { | protected String getNoDebugArgument() { | ||||