You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/10/03 15:37:16 UTC

svn commit: r293348 - in /maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/factory: ArtifactFactory.java DefaultArtifactFactory.java

Author: brett
Date: Mon Oct  3 06:37:12 2005
New Revision: 293348

URL: http://svn.apache.org/viewcvs?rev=293348&view=rev
Log:
PR: MNG-644
remove unused method

Modified:
    maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java
    maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

Modified: maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java?rev=293348&r1=293347&r2=293348&view=diff
==============================================================================
--- maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java (original)
+++ maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java Mon Oct  3 06:37:12 2005
@@ -23,20 +23,8 @@
 {
     String ROLE = ArtifactFactory.class.getName();
 
-    /**
-     * @deprecated
-     */
-    Artifact createArtifact( String groupId, String artifactId, String version, String scope, String type,
-                             String inheritedScope );
-
     // TODO: deprecate and chase down (probably used for copying only)
     Artifact createArtifact( String groupId, String artifactId, String version, String scope, String type );
-
-    /**
-     * @deprecated
-     */
-    Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String scope, String type,
-                                           String classifier );
 
     Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String type,
                                            String classifier );

Modified: maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java?rev=293348&r1=293347&r2=293348&view=diff
==============================================================================
--- maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java (original)
+++ maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java Mon Oct  3 06:37:12 2005
@@ -37,12 +37,6 @@
         return createArtifact( groupId, artifactId, version, scope, type, null, null );
     }
 
-    public Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String scope,
-                                                  String type, String classifier )
-    {
-        return createArtifact( groupId, artifactId, version, scope, type, classifier, null );
-    }
-
     public Artifact createArtifactWithClassifier( String groupId, String artifactId, String version, String type,
                                                   String classifier )
     {
@@ -95,12 +89,6 @@
     public Artifact createExtensionArtifact( String groupId, String artifactId, VersionRange versionRange )
     {
         return createArtifact( groupId, artifactId, versionRange, "jar", null, Artifact.SCOPE_RUNTIME, null );
-    }
-
-    public Artifact createArtifact( String groupId, String artifactId, String version, String scope, String type,
-                                    String inheritedScope )
-    {
-        return createArtifact( groupId, artifactId, version, scope, type, null, inheritedScope );
     }
 
     private Artifact createArtifact( String groupId, String artifactId, String version, String scope, String type,



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org