You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2009/07/29 12:25:51 UTC
svn commit: r798841 -
/ant/core/trunk/src/tests/junit/org/apache/tools/ant/BuildFileTest.java
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;
}