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 19:02:05 UTC

[maven-dependency-plugin] branch master updated: Clean up dead code (#55)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new d4d7ecd  Clean up dead code (#55)
d4d7ecd is described below

commit d4d7ecd234f1a69501c5350583d0bb53e313fd79
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Thu May 21 15:01:55 2020 -0400

    Clean up dead code (#55)
    
    * don't care about old versions
    
    * 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 )
     {
 
     }