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 @@ -109,16 +109,16 @@ public class FileUtilsTestCase {
109109 private File testFile1 ;
110110 private File testFile2 ;
111111
112- private int testFile1Size ;
113- private int testFile2Size ;
112+ private long testFile1Size ;
113+ private long testFile2Size ;
114114
115115 @ BeforeEach
116116 public void setUp () throws Exception {
117117 testFile1 = new File (temporaryFolder , "file1-test.txt" );
118118 testFile2 = new File (temporaryFolder , "file1a-test.txt" );
119119
120- testFile1Size = ( int ) testFile1 .length ();
121- testFile2Size = ( int ) testFile2 .length ();
120+ testFile1Size = testFile1 .length ();
121+ testFile2Size = testFile2 .length ();
122122 if (!testFile1 .getParentFile ().exists ()) {
123123 throw new IOException ("Cannot create file " + testFile1
124124 + " as the parent directory does not exist" );
You can’t perform that action at this time.
0 commit comments