diff options
author | Martin Stockhammer <martin_s@apache.org> | 2017-09-02 22:05:16 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2017-09-02 22:05:16 +0200 |
commit | cd1f4a9e79c91e11f1183045b6aeb8b93017d319 (patch) | |
tree | 745f871efcfa13f33203008bfe79da69578eb9e3 /archiva-modules/plugins/problem-reports | |
parent | faceef262c3521c1f27bfc49c7ab74c1b41a57ec (diff) | |
download | archiva-cd1f4a9e79c91e11f1183045b6aeb8b93017d319.tar.gz archiva-cd1f4a9e79c91e11f1183045b6aeb8b93017d319.zip |
Switching the checksum module to java.nio
Diffstat (limited to 'archiva-modules/plugins/problem-reports')
-rw-r--r-- | archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java b/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java index 498300404..5fcb71731 100644 --- a/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java +++ b/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java @@ -149,7 +149,7 @@ public class DuplicateArtifactsConsumer // alternatively this could come straight from the storage resolver, which could populate the artifact metadata // in the later parse call with the desired checksum and use that String checksumSha1; - ChecksummedFile checksummedFile = new ChecksummedFile( artifactFile ); + ChecksummedFile checksummedFile = new ChecksummedFile( artifactFile.toPath() ); try { checksumSha1 = checksummedFile.calculateChecksum( ChecksumAlgorithm.SHA1 ); |