From 565519bda6e5c38118f1e6d1353df4075f99573a Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Fri, 27 Jun 2003 18:43:13 +0000 Subject: [PATCH] change access levels of methods to match new access levels in Definer git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274727 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/tools/ant/taskdefs/Taskdef2.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proposal/embed/src/java/org/apache/tools/ant/taskdefs/Taskdef2.java b/proposal/embed/src/java/org/apache/tools/ant/taskdefs/Taskdef2.java index 7678acf79..1c411698c 100644 --- a/proposal/embed/src/java/org/apache/tools/ant/taskdefs/Taskdef2.java +++ b/proposal/embed/src/java/org/apache/tools/ant/taskdefs/Taskdef2.java @@ -219,7 +219,7 @@ public class Taskdef2 extends Definer { * create the classloader then hand the definition off to the subclass; * @throws BuildException when the class wont load for any reason */ - private void addDefinition(ClassLoader al, String name, String value) + protected void addDefinition(ClassLoader al, String name, String value) throws BuildException { try { Class c = al.loadClass(value); @@ -239,7 +239,7 @@ public class Taskdef2 extends Definer { /** * create a classloader for this definition */ - private AntClassLoader createLoader() { + protected AntClassLoader createLoader() { // magic property if (getProject().getProperty(REUSE_LOADER_REF) != null) { // Generate the 'reuse' name automatically from the reference.