Browse Source

checkstyle

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476579 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 18 years ago
parent
commit
ea6cf7be53
4 changed files with 5 additions and 3 deletions
  1. +2
    -0
      src/main/org/apache/tools/ant/taskdefs/compilers/AptExternalCompilerAdapter.java
  2. +0
    -1
      src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java
  3. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java
  4. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/compilers/Sj.java

+ 2
- 0
src/main/org/apache/tools/ant/taskdefs/compilers/AptExternalCompilerAdapter.java View File

@@ -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);


+ 0
- 1
src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java View File

@@ -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;


+ 2
- 1
src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java View File

@@ -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");
} }




+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/compilers/Sj.java View File

@@ -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() {


Loading…
Cancel
Save