aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-base
diff options
context:
space:
mode:
authorMaria Odea B. Ching <oching@apache.org>2008-03-14 09:13:02 +0000
committerMaria Odea B. Ching <oching@apache.org>2008-03-14 09:13:02 +0000
commit0a545acdd7e43562e87dbf37233b2032b60674cd (patch)
treed70dbb8684a59fd949714b9635a0ccd7d31d43b6 /archiva-base
parentcd88ed03c4b5ca678aa7df63e7cdd4b77baee510 (diff)
downloadarchiva-0a545acdd7e43562e87dbf37233b2032b60674cd.tar.gz
archiva-0a545acdd7e43562e87dbf37233b2032b60674cd.zip
[MRM-608]
-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
Diffstat (limited to 'archiva-base')
-rw-r--r--archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java b/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java
index de38ce0fa..e6a3d8dd8 100644
--- a/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java
+++ b/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ArtifactUpdateDatabaseConsumer.java
@@ -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 );
}