You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2020/05/21 17:06:35 UTC

[maven-dependency-plugin] branch get created (now d6b48e4)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a change to branch get
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git.


      at d6b48e4  clean up some dead code

This branch includes the following new commits:

     new d6b48e4  clean up some dead code

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-dependency-plugin] 01/01: clean up some dead code

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch get
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git

commit d6b48e4f5e09ada8bb2b4475c6780becaf15f834
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Thu May 21 13:06:22 2020 -0400

    clean up some dead code
---
 .../testUtils/stubs/DependencyProjectStub.java     | 48 ++--------------------
 1 file changed, 3 insertions(+), 45 deletions(-)

diff --git a/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java b/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java
index f8bafdb..a0954ee 100644
--- a/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java
+++ b/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java
@@ -108,20 +108,8 @@ public class DependencyProjectStub
 
     private Artifact artifact;
 
-    // private Map artifactMap;
-
     private Model originalModel;
 
-    // private Map pluginArtifactMap;
-
-    // private Map reportArtifactMap;
-
-    // private Map extensionArtifactMap;
-
-    // private Map projectReferences;
-
-    // private Build buildOverlay;
-
     private boolean executionRoot;
 
     private List<Artifact> compileArtifacts;
@@ -422,36 +410,6 @@ public class DependencyProjectStub
         this.scriptSourceRoots = scriptSourceRoots;
     }
 
-    public void setArtifactMap( Map artifactMap )
-    {
-        // this.artifactMap = artifactMap;
-    }
-
-    public void setPluginArtifactMap( Map pluginArtifactMap )
-    {
-        // this.pluginArtifactMap = pluginArtifactMap;
-    }
-
-    public void setReportArtifactMap( Map reportArtifactMap )
-    {
-        // this.reportArtifactMap = reportArtifactMap;
-    }
-
-    public void setExtensionArtifactMap( Map extensionArtifactMap )
-    {
-        // this.extensionArtifactMap = extensionArtifactMap;
-    }
-
-    public void setProjectReferences( Map projectReferences )
-    {
-        // this.projectReferences = projectReferences;
-    }
-
-    public void setBuildOverlay( Build buildOverlay )
-    {
-        // this.buildOverlay = buildOverlay;
-    }
-
     public void setCompileDependencies( List<Dependency> compileDependencies )
     {
         this.compileDependencies = compileDependencies;
@@ -657,7 +615,7 @@ public class DependencyProjectStub
         return null;
     }
 
-    public void setMailingLists( List list )
+    public void setMailingLists( List<MailingList> list )
     {
 
     }
@@ -672,7 +630,7 @@ public class DependencyProjectStub
 
     }
 
-    public void setDevelopers( List list )
+    public void setDevelopers( List<Developer> list )
     {
 
     }
@@ -742,7 +700,7 @@ public class DependencyProjectStub
         return null;
     }
 
-    public void setLicenses( List list )
+    public void setLicenses( List<License> list )
     {
 
     }