]> source.dussan.org Git - archiva.git/commitdiff
[MRM-608]
authorMaria Odea B. Ching <oching@apache.org>
Fri, 14 Mar 2008 09:13:02 +0000 (09:13 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Fri, 14 Mar 2008 09:13:02 +0000 (09:13 +0000)
-set whenProcessed to null everytime an artifact is discovered

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637023 13f79535-47bb-0310-9956-ffa450edef68

archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java

index de38ce0faa1cb9b63a8968548acbad8b938c73b6..e6a3d8dd8c017c14b9420374ce8f952c79d1f557 100644 (file)
@@ -189,6 +189,7 @@ public class ArtifactUpdateDatabaseConsumer
             artifact.getModel().setLastModified( new Date( artifactFile.lastModified() ) );
             artifact.getModel().setSize( artifactFile.length() );
             artifact.getModel().setOrigin( "FileSystem" );
+            artifact.getModel().setWhenProcessed( null );
 
             dao.getArtifactDAO().saveArtifact( artifact );
         }