Author: mbenson
Date: Tue May 8 15:26:17 2007
New Revision: 536352
URL: http://svn.apache.org/viewvc?view=rev&rev=536352
Log:
ws/doc/unnecessary else
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/util/ReaderInputStream.java
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/util/ReaderInputStream.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/ReaderInputStream.java?view=diff&rev=536352&r1=536351&r2=536352
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/ReaderInputStream.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/ReaderInputStream.java
Tue May 8 15:26:17 2007
@@ -90,7 +90,6 @@
result = buf[0];
}
}
-
return result & 0xFF;
}
@@ -138,7 +137,7 @@
}
/**
- * Marks the read limit of the StringReader.
+ * Marks the read limit of the Reader.
*
* @param limit the maximum limit of bytes that can be read before the
* mark position becomes invalid
@@ -165,9 +164,8 @@
}
if (in.ready()) {
return 1;
- } else {
- return 0;
}
+ return 0;
}
/**
@@ -178,9 +176,9 @@
}
/**
- * Resets the StringReader.
+ * Resets the Reader.
*
- * @exception IOException if the StringReader fails to be reset
+ * @exception IOException if the Reader fails to be reset
*/
public synchronized void reset() throws IOException {
if (in == null) {
@@ -191,9 +189,9 @@
}
/**
- * Closes the Stringreader.
+ * Closes the Reader.
*
- * @exception IOException if the original StringReader fails to be closed
+ * @exception IOException if the original Reader fails to be closed
*/
public synchronized void close() throws IOException {
if (in != null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]