maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csta...@apache.org
Subject svn commit: r1074673 - /maven/indexer/trunk/indexer-artifact/src/main/java/org/apache/maven/index/artifact/M1ArtifactRecognizer.java
Date Fri, 25 Feb 2011 19:11:23 GMT
Author: cstamas
Date: Fri Feb 25 19:11:22 2011
New Revision: 1074673

URL: http://svn.apache.org/viewvc?rev=1074673&view=rev
Log:
Returned a method removed by mistake.

Modified:
    maven/indexer/trunk/indexer-artifact/src/main/java/org/apache/maven/index/artifact/M1ArtifactRecognizer.java

Modified: maven/indexer/trunk/indexer-artifact/src/main/java/org/apache/maven/index/artifact/M1ArtifactRecognizer.java
URL: http://svn.apache.org/viewvc/maven/indexer/trunk/indexer-artifact/src/main/java/org/apache/maven/index/artifact/M1ArtifactRecognizer.java?rev=1074673&r1=1074672&r2=1074673&view=diff
==============================================================================
--- maven/indexer/trunk/indexer-artifact/src/main/java/org/apache/maven/index/artifact/M1ArtifactRecognizer.java
(original)
+++ maven/indexer/trunk/indexer-artifact/src/main/java/org/apache/maven/index/artifact/M1ArtifactRecognizer.java
Fri Feb 25 19:11:22 2011
@@ -41,6 +41,14 @@ public class M1ArtifactRecognizer
     }
 
     /**
+     * Is this item M1 snapshot?
+     */
+    public static boolean isSnapshot( String path )
+    {
+        return path.indexOf( "SNAPSHOT" ) != -1;
+    }
+
+    /**
      * Is this item M1 metadata? There is no such!
      */
     public static boolean isMetadata( String path )



Mime
View raw message