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 0092341 In-line. 0092341 is described below commit 00923412ca2384384b1a2b1ebdc5e722c8c54eba Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Mon Nov 25 11:17:32 2019 -0500 In-line. --- src/main/java/org/apache/commons/io/FileUtils.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/io/FileUtils.java b/src/main/java/org/apache/commons/io/FileUtils.java index 105ea8b..5b00962 100644 --- a/src/main/java/org/apache/commons/io/FileUtils.java +++ b/src/main/java/org/apache/commons/io/FileUtils.java @@ -318,9 +318,7 @@ public class FileUtils { * @since 1.3 */ public static long checksumCRC32(final File file) throws IOException { - final CRC32 crc = new CRC32(); - checksum(file, crc); - return crc.getValue(); + return checksum(file, new CRC32()).getValue(); } /**