maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-artifact/src/main/java/org/apache/maven/artifact/metadata SnapshotArtifactMetadata.java
Date Tue, 05 Apr 2005 07:01:06 GMT
brett       2005/04/05 00:01:06

  Modified:    maven-artifact/src/main/java/org/apache/maven/artifact/metadata
                        SnapshotArtifactMetadata.java
  Log:
  fix bug - if timestamp is null, then the local metadata is NOT considered newer
  
  Revision  Changes    Path
  1.15      +2 -2      maven-components/maven-artifact/src/main/java/org/apache/maven/artifact/metadata/SnapshotArtifactMetadata.java
  
  Index: SnapshotArtifactMetadata.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-artifact/src/main/java/org/apache/maven/artifact/metadata/SnapshotArtifactMetadata.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- SnapshotArtifactMetadata.java	5 Apr 2005 01:58:33 -0000	1.14
  +++ SnapshotArtifactMetadata.java	5 Apr 2005 07:01:06 -0000	1.15
  @@ -245,6 +245,6 @@
               String fileTimestamp = getUtcDateFormatter().format( new Date( fileTime ) );
               return ( fileTimestamp.compareTo( timestamp ) < 0 );
           }
  -        return true;
  +        return false;
       }
   }
  
  
  

Mime
View raw message