ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r474076 - in /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs: compilers/DefaultCompilerAdapter.java email/Mailer.java rmic/RmicAdapterFactory.java
Date Sun, 12 Nov 2006 22:35:27 GMT
Author: peterreilly
Date: Sun Nov 12 14:35:26 2006
New Revision: 474076

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

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/Mailer.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/RmicAdapterFactory.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java?view=diff&rev=474076&r1=474075&r2=474076
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
Sun Nov 12 14:35:26 2006
@@ -45,6 +45,7 @@
  * @since Ant 1.3
  */
 public abstract class DefaultCompilerAdapter implements CompilerAdapter {
+    // CheckStyle:VisibilityModifier OFF - bc
 
     private static final FileUtils FILE_UTILS = FileUtils.getFileUtils();
 
@@ -72,7 +73,11 @@
     protected Javac attributes;
 
     //must keep for subclass BC, though unused:
+    // CheckStyle:ConstantNameCheck OFF - bc
     protected static final String lSep = StringUtils.LINE_SEP;
+
+    // CheckStyle:ConstantNameCheck ON
+    // CheckStyle:VisibilityModifier ON
 
     /**
      * Set the Javac instance which contains the configured compilation

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/Mailer.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/Mailer.java?view=diff&rev=474076&r1=474075&r2=474076
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/Mailer.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/Mailer.java Sun Nov 12 14:35:26
2006
@@ -28,11 +28,14 @@
  * @since Ant 1.5
  */
 public abstract class Mailer {
+    // CheckStyle:VisibilityModifier OFF - bc
     protected String host = null;
     protected int port = -1;
     protected String user = null;
     protected String password = null;
+    // CheckStyle:MemberNameCheck OFF - bc
     protected boolean SSL = false;
+    // CheckStyle:MemberNameCheck ON
     protected Message message;
     protected EmailAddress from;
     protected Vector replyToList = null;
@@ -44,6 +47,7 @@
     protected Task task;
     protected boolean includeFileNames = false;
     protected Vector headers = null;
+    // CheckStyle:VisibilityModifier ON
 
     /**
      * Set the mail server.
@@ -86,11 +90,11 @@
     /**
      * Set whether to send the mail through SSL.
      *
-     * @param SSL if true use SSL transport.
+     * @param ssl if true use SSL transport.
      * @since Ant 1.6
      */
-    public void setSSL(boolean SSL) {
-        this.SSL = SSL;
+    public void setSSL(boolean ssl) {
+        this.SSL = ssl;
     }
 
     /**

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/RmicAdapterFactory.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/RmicAdapterFactory.java?view=diff&rev=474076&r1=474075&r2=474076
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/RmicAdapterFactory.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/RmicAdapterFactory.java Sun
Nov 12 14:35:26 2006
@@ -22,7 +22,6 @@
 import org.apache.tools.ant.Task;
 import org.apache.tools.ant.taskdefs.Rmic;
 import org.apache.tools.ant.util.ClasspathUtils;
-import org.apache.tools.ant.util.JavaEnvUtils;
 
 import java.util.Locale;
 



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


Mime
View raw message