From bb864d028bfafd454599bfc5d273589954c79794 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Wed, 25 Feb 2009 05:28:17 +0000 Subject: [PATCH] o remove another unused method from the repository system interface git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747665 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/repository/LegacyMavenRepositorySystem.java | 5 ----- .../org/apache/maven/repository/MavenRepositorySystem.java | 2 -- 2 files changed, 7 deletions(-) diff --git a/maven-project/src/main/java/org/apache/maven/repository/LegacyMavenRepositorySystem.java b/maven-project/src/main/java/org/apache/maven/repository/LegacyMavenRepositorySystem.java index 58bec630c0..0ebb4614c0 100644 --- a/maven-project/src/main/java/org/apache/maven/repository/LegacyMavenRepositorySystem.java +++ b/maven-project/src/main/java/org/apache/maven/repository/LegacyMavenRepositorySystem.java @@ -335,11 +335,6 @@ public class LegacyMavenRepositorySystem return artifactRepositoryFactory.createArtifactRepository( repositoryId, url, defaultArtifactRepositoryLayout, snapshotsPolicy, releasesPolicy ); } - public ArtifactRepository createRepository( String url, String repositoryId, ArtifactRepositoryPolicy snapshotsPolicy, ArtifactRepositoryPolicy releasesPolicy ) - { - return artifactRepositoryFactory.createArtifactRepository( repositoryId, url, defaultArtifactRepositoryLayout, snapshotsPolicy, releasesPolicy ); - } - public void setGlobalUpdatePolicy( String policy ) { artifactRepositoryFactory.setGlobalUpdatePolicy( policy ); diff --git a/maven-project/src/main/java/org/apache/maven/repository/MavenRepositorySystem.java b/maven-project/src/main/java/org/apache/maven/repository/MavenRepositorySystem.java index b7ee06e421..0cfbed0ddb 100644 --- a/maven-project/src/main/java/org/apache/maven/repository/MavenRepositorySystem.java +++ b/maven-project/src/main/java/org/apache/maven/repository/MavenRepositorySystem.java @@ -87,8 +87,6 @@ public interface MavenRepositorySystem ArtifactRepository createRepository( String url, String repositoryId ); - ArtifactRepository createRepository( String url, String repositoryId, ArtifactRepositoryPolicy snapshotsPolicy, ArtifactRepositoryPolicy releasesPolicy ); - void setGlobalUpdatePolicy( String policy ); void setGlobalChecksumPolicy( String policy );