Skip to content

Commit

Permalink
Remove deprecated setup code test doesn't need
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Nov 16, 2024
1 parent d9ad8ee commit 2074f29
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
import java.util.Set;

import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.factory.ArtifactFactory;
import org.apache.maven.artifact.factory.DefaultArtifactFactory;
import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager;
import org.apache.maven.artifact.handler.manager.DefaultArtifactHandlerManager;
import org.apache.maven.artifact.repository.ArtifactRepository;
Expand All @@ -44,8 +42,6 @@
public class TestClassifierTypeTranslator extends AbstractDependencyMojoTestCase {
Set<Artifact> artifacts = new HashSet<>();

ArtifactFactory artifactFactory;

ArtifactRepository artifactRepository;

Log log = new SilentLog();
Expand All @@ -59,9 +55,6 @@ protected void setUp() throws Exception {
artifactHandlerManager = new DefaultArtifactHandlerManager();
this.setVariableValueToObject(artifactHandlerManager, "artifactHandlers", new HashMap<>());

artifactFactory = new DefaultArtifactFactory();
this.setVariableValueToObject(artifactFactory, "artifactHandlerManager", artifactHandlerManager);

artifactRepository = new StubArtifactRepository(null);

DependencyArtifactStubFactory factory = new DependencyArtifactStubFactory(null, false);
Expand Down

0 comments on commit 2074f29

Please sign in to comment.