From b359bf0cfb5ccdc3233852a8ffeae1c9a5e7974f Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 10 Jan 2014 03:53:53 +0000 Subject: no need of public method here git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1557019 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/dependency/tree/maven2/Maven3DependencyTreeBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/Maven3DependencyTreeBuilder.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/Maven3DependencyTreeBuilder.java index f72d273a9..30dcd3dff 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/Maven3DependencyTreeBuilder.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/Maven3DependencyTreeBuilder.java @@ -233,7 +233,7 @@ public class Maven3DependencyTreeBuilder } - public static RepositorySystem newRepositorySystem() + private RepositorySystem newRepositorySystem() { DefaultServiceLocator locator = new DefaultServiceLocator(); locator.addService( RepositoryConnectorFactory.class, @@ -247,7 +247,7 @@ public class Maven3DependencyTreeBuilder return locator.getService( RepositorySystem.class ); } - public static RepositorySystemSession newRepositorySystemSession( RepositorySystem system, String localRepoDir ) + private RepositorySystemSession newRepositorySystemSession( RepositorySystem system, String localRepoDir ) { MavenRepositorySystemSession session = new MavenRepositorySystemSession(); -- cgit v1.2.3