From bc68f13de7fa49e9924b6af1cab5b599e5482214 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Wed, 19 Aug 2009 15:15:04 +0000 Subject: [PATCH] o Removed obsolete code git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805833 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/classrealm/ClassRealmManager.java | 8 -------- .../maven/classrealm/DefaultClassRealmManager.java | 10 ---------- 2 files changed, 18 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java b/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java index 30b2e377cd..15d1eea5ee 100644 --- a/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java +++ b/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java @@ -43,14 +43,6 @@ public interface ClassRealmManager */ ClassRealm createProjectRealm( Model model ); - /** - * Creates a new class realm for the specified build plugin. - * - * @param plugin The build plugin for which to create a realm, must not be {@code null}. - * @return The new plugin realm, never {@code null}. - */ - ClassRealm createPluginRealm( Plugin plugin ); - /** * Creates a new class realm for the specified plugin. * diff --git a/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java b/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java index 468f7f3f1f..fd69b8c6f0 100644 --- a/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java +++ b/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java @@ -194,16 +194,6 @@ public class DefaultClassRealmManager return "project>" + model.getGroupId() + ":" + model.getArtifactId() + ":" + model.getVersion(); } - public ClassRealm createPluginRealm( Plugin plugin ) - { - if ( plugin == null ) - { - throw new IllegalArgumentException( "plugin missing" ); - } - - return createRealm( getKey( plugin ), null, null ); - } - public ClassRealm createPluginRealm( Plugin plugin, ClassLoader parent, List imports ) { if ( plugin == null )