maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r814889 - /maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
Date Mon, 14 Sep 2009 22:27:18 GMT
Author: bentmann
Date: Mon Sep 14 22:27:17 2009
New Revision: 814889

URL: http://svn.apache.org/viewvc?rev=814889&view=rev
Log:
o Restored legacy code for backward-compat

Added:
    maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
      - copied, changed from r814543, maven/maven-2/branches/maven-2.2.x/maven-project/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

Copied: maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
(from r814543, maven/maven-2/branches/maven-2.2.x/maven-project/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java)
URL: http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java?p2=maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java&p1=maven/maven-2/branches/maven-2.2.x/maven-project/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java&r1=814543&r2=814889&rev=814889&view=diff
==============================================================================
--- maven/maven-2/branches/maven-2.2.x/maven-project/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
(original)
+++ maven/maven-3/trunk/maven-core/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
Mon Sep 14 22:27:17 2009
@@ -42,6 +42,7 @@
  * @todo I think this exposes a design flaw in that the immutable and mutable parts of an
artifact are in one class and
  * should be split. ie scope, file, etc depend on the context of use, whereas everything
else is immutable.
  */
+@Deprecated
 public class ActiveProjectArtifact
     implements Artifact
 {
@@ -400,8 +401,4 @@
         return true;
     }
 
-    public ArtifactMetadata getMetadata( Class<?> metadataClass )
-    {
-        return artifact.getMetadata( metadataClass );
-    }
 }



Mime
View raw message