ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r575727 - /ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java
Date Fri, 14 Sep 2007 15:44:46 GMT
Author: peterreilly
Date: Fri Sep 14 08:44:46 2007
New Revision: 575727

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

Modified:
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java?rev=575727&r1=575726&r2=575727&view=diff
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java
(original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/filters/FixCrLfFilter.java
Fri Sep 14 08:44:46 2007
@@ -399,7 +399,7 @@
      * </P>
      */
     private static class SimpleFilterReader extends Reader {
-        private final static int PREEMPT_BUFFER_LENGTH = 16;
+        private static final int PREEMPT_BUFFER_LENGTH = 16;
         private Reader in;
 
         private int[] preempt = new int[PREEMPT_BUFFER_LENGTH];
@@ -483,6 +483,7 @@
             int count = 0;
             int c = 0;
 
+            // CheckStyle:InnerAssignment OFF - leave alone
             while (length-- > 0 && (c = this.read()) != -1) {
                 buf[start++] = (char) c;
                 count++;



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


Mime
View raw message