ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r476579 - in /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers: AptExternalCompilerAdapter.java Javac12.java Jikes.java Sj.java
Date Sat, 18 Nov 2006 18:11:28 GMT
Author: peterreilly
Date: Sat Nov 18 10:11:27 2006
New Revision: 476579

URL: http://svn.apache.org/viewvc?view=rev&rev=476579
Log:
checkstyle

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/AptExternalCompilerAdapter.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Sj.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/AptExternalCompilerAdapter.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/AptExternalCompilerAdapter.java?view=diff&rev=476579&r1=476578&r2=476579
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/AptExternalCompilerAdapter.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/AptExternalCompilerAdapter.java
Sat Nov 18 10:11:27 2006
@@ -43,6 +43,8 @@
 
     /**
      * 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 {
         attributes.log("Using external apt compiler", Project.MSG_VERBOSE);

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java?view=diff&rev=476579&r1=476578&r2=476579
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java Sat Nov 18
10:11:27 2006
@@ -18,7 +18,6 @@
 
 package org.apache.tools.ant.taskdefs.compilers;
 
-import java.io.IOException;
 import java.io.OutputStream;
 import java.lang.reflect.Constructor;
 import java.lang.reflect.Method;

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java?view=diff&rev=476579&r1=476578&r2=476579
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java Sat Nov 18
10:11:27 2006
@@ -166,7 +166,8 @@
             if (!Project.toBoolean(warningsProperty)) {
                 cmd.createArgument().setValue("-nowarn");
             }
-        } if (attributes.getNowarn()) {
+        }
+        if (attributes.getNowarn()) {
             cmd.createArgument().setValue("-nowarn");
         }
 

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Sj.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Sj.java?view=diff&rev=476579&r1=476578&r2=476579
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Sj.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Sj.java Sat Nov 18 10:11:27
2006
@@ -51,7 +51,7 @@
     /**
      * Returns null since sj either has -g for debug=true or no
      * argument at all.
-     *
+     * @return null.
      * @since Ant 1.6.3
      */
     protected String getNoDebugArgument() {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message