]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1877] Checksum files always recreated
authorOlivier Lamy <olamy@apache.org>
Mon, 23 Mar 2015 03:23:38 +0000 (14:23 +1100)
committerOlivier Lamy <olamy@apache.org>
Mon, 23 Mar 2015 03:31:58 +0000 (14:31 +1100)
archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ArtifactMissingChecksumsConsumer.java

index 3bc13fa415507a8a87c93b16b017ffe460c12d89..954ac6bf3e7af6e9bb55bc477f2584d11a336dee 100644 (file)
@@ -155,7 +155,7 @@ public class ArtifactMissingChecksumsConsumer
     private void createFixChecksum( String path, ChecksumAlgorithm checksumAlgorithm )
     {
         File artifactFile = new File( this.repositoryDir, path );
-        File checksumFile = new File( this.repositoryDir, path  + checksumAlgorithm.getExt() );
+        File checksumFile = new File( this.repositoryDir, path + "."  + checksumAlgorithm.getExt() );
 
         if ( checksumFile.exists() )
         {