ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r798841 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/BuildFileTest.java
Date Wed, 29 Jul 2009 10:25:51 GMT
Author: bodewig
Date: Wed Jul 29 10:25:50 2009
New Revision: 798841

URL: http://svn.apache.org/viewvc?rev=798841&view=rev
Log:
Unused variable

Modified:
    ant/core/trunk/src/tests/junit/org/apache/tools/ant/BuildFileTest.java

Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/BuildFileTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/BuildFileTest.java?rev=798841&r1=798840&r2=798841&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/BuildFileTest.java (original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/BuildFileTest.java Wed Jul 29 10:25:50
2009
@@ -265,11 +265,9 @@
 
     private String cleanBuffer(StringBuffer buffer) {
         StringBuffer cleanedBuffer = new StringBuffer();
-        boolean cr = false;
         for (int i = 0; i < buffer.length(); i++) {
             char ch = buffer.charAt(i);
             if (ch == '\r') {
-                cr = true;
                 continue;
             }
 



Mime
View raw message