Skip to content

Commit e58675b

Browse files
authored
remove unused code (#494)
1 parent dd93554 commit e58675b

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

src/test/java/org/apache/commons/io/FileUtilsTest.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -126,20 +126,6 @@ List<File> list(final File startDirectory) throws IOException {
126126
}
127127
}
128128

129-
// Test helper class to pretend a file is shorter than it is
130-
private static class ShorterFile extends File {
131-
private static final long serialVersionUID = 1L;
132-
133-
public ShorterFile(final String pathname) {
134-
super(pathname);
135-
}
136-
137-
@Override
138-
public long length() {
139-
return super.length() - 1;
140-
}
141-
}
142-
143129
private static final String UTF_8 = StandardCharsets.UTF_8.name();
144130

145131
/** Test data. */
@@ -171,11 +157,6 @@ public long length() {
171157
*/
172158
private static final ListDirectoryWalker LIST_WALKER = new ListDirectoryWalker();
173159

174-
/**
175-
* Delay in milliseconds to make sure test for "last modified date" are accurate
176-
*/
177-
//private static final int LAST_MODIFIED_DELAY = 600;
178-
179160
private File testFile1;
180161
private File testFile2;
181162

0 commit comments

Comments
 (0)