o Removed obsolete code

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805833 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-08-19 15:15:04 +00:00
parent fd54fd1f07
commit bc68f13de7
2 changed files with 0 additions and 18 deletions

View File

@ -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.
*

View File

@ -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<String> imports )
{
if ( plugin == null )