This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d3f67c  Millis are longs.
2d3f67c is described below

commit 2d3f67c4bd15bda5dd9c77301becbfad78402bd6
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Aug 7 14:18:49 2020 -0400

    Millis are longs.
---
 src/test/java/org/apache/commons/io/FileUtilsTestCase.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/test/java/org/apache/commons/io/FileUtilsTestCase.java 
b/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
index 473a23a..c3241f0 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsTestCase.java
@@ -109,16 +109,16 @@ public class FileUtilsTestCase {
     private File testFile1;
     private File testFile2;
 
-    private int testFile1Size;
-    private int testFile2Size;
+    private long testFile1Size;
+    private long testFile2Size;
 
     @BeforeEach
     public void setUp() throws Exception {
         testFile1 = new File(temporaryFolder, "file1-test.txt");
         testFile2 = new File(temporaryFolder, "file1a-test.txt");
 
-        testFile1Size = (int) testFile1.length();
-        testFile2Size = (int) testFile2.length();
+        testFile1Size = testFile1.length();
+        testFile2Size = testFile2.length();
         if (!testFile1.getParentFile().exists()) {
             throw new IOException("Cannot create file " + testFile1
                     + " as the parent directory does not exist");

Reply via email to