File tree Expand file tree Collapse file tree
src/test/java/org/apache/commons/io Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments