Browse Source

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
master
Peter Reilly 22 years ago
parent
commit
565519bda6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      proposal/embed/src/java/org/apache/tools/ant/taskdefs/Taskdef2.java

+ 2
- 2
proposal/embed/src/java/org/apache/tools/ant/taskdefs/Taskdef2.java View File

@@ -219,7 +219,7 @@ public class Taskdef2 extends Definer {
* create the classloader then hand the definition off to the subclass; * create the classloader then hand the definition off to the subclass;
* @throws BuildException when the class wont load for any reason * @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 { throws BuildException {
try { try {
Class c = al.loadClass(value); Class c = al.loadClass(value);
@@ -239,7 +239,7 @@ public class Taskdef2 extends Definer {
/** /**
* create a classloader for this definition * create a classloader for this definition
*/ */
private AntClassLoader createLoader() {
protected AntClassLoader createLoader() {
// magic property // magic property
if (getProject().getProperty(REUSE_LOADER_REF) != null) { if (getProject().getProperty(REUSE_LOADER_REF) != null) {
// Generate the 'reuse' name automatically from the reference. // Generate the 'reuse' name automatically from the reference.


Loading…
Cancel
Save