Browse Source

no need to mark static methods as final

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@520384 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 18 years ago
parent
commit
b73a3b386a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/util/FileUtils.java

+ 2
- 2
src/main/org/apache/tools/ant/util/FileUtils.java View File

@@ -939,7 +939,7 @@ public class FileUtils {
* @throws IOException if the contents could not be read out from the
* reader.
*/
public static final String readFully(Reader rdr) throws IOException {
public static String readFully(Reader rdr) throws IOException {
return readFully(rdr, BUF_SIZE);
}

@@ -954,7 +954,7 @@ public class FileUtils {
* @throws IOException if the contents could not be read out from the
* reader.
*/
public static final String readFully(Reader rdr, int bufferSize)
public static String readFully(Reader rdr, int bufferSize)
throws IOException {
if (bufferSize <= 0) {
throw new IllegalArgumentException("Buffer size must be greater "


Loading…
Cancel
Save