Browse Source

init() -> initialize()

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270209 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
9e1cd9e4c1
10 changed files with 14 additions and 14 deletions
  1. +3
    -3
      proposal/myrmidon/src/main/org/apache/tools/ant/Task.java
  2. +1
    -1
      proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/ANTLR.java
  3. +1
    -1
      proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  4. +1
    -1
      proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Base.java
  5. +1
    -1
      proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/sound/SoundTask.java
  6. +3
    -3
      proposal/myrmidon/src/todo/org/apache/tools/ant/Task.java
  7. +1
    -1
      proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/ANTLR.java
  8. +1
    -1
      proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  9. +1
    -1
      proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/perforce/P4Base.java
  10. +1
    -1
      proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/sound/SoundTask.java

+ 3
- 3
proposal/myrmidon/src/main/org/apache/tools/ant/Task.java View File

@@ -19,7 +19,7 @@ public abstract class Task
* example, if target1 and target2 both depend on target3, then running "ant
* target1 target2" will run all tasks in target3 twice.
*
* @throws BuildException if someting goes wrong with the build
* @throws TaskException if someting goes wrong with the build
*/
public void execute()
throws TaskException
@@ -29,9 +29,9 @@ public abstract class Task
/**
* Called by the project to let the task initialize properly.
*
* @throws BuildException if someting goes wrong with the build
* @throws TaskException if someting goes wrong with the build
*/
public void init()
public void initialize()
throws TaskException
{
}


+ 1
- 1
proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/ANTLR.java View File

@@ -146,7 +146,7 @@ public class ANTLR extends Task
*
* @exception TaskException Description of Exception
*/
public void init()
public void initialize()
throws TaskException
{
addClasspathEntry( "/antlr/Tool.class" );


+ 1
- 1
proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java View File

@@ -395,7 +395,7 @@ public class JUnitTask extends Task
* classpath - this should make the forked JVM work without having to
* specify them directly.
*/
public void init()
public void initialize()
{
addClasspathEntry( "/junit/framework/TestCase.class" );
addClasspathEntry( "/org/apache/tools/ant/Task.class" );


+ 1
- 1
proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4Base.java View File

@@ -93,7 +93,7 @@ public abstract class P4Base extends org.apache.tools.ant.Task
this.P4View = P4View;
}

public void init()
public void initialize()
{

util = new Perl5Util();


+ 1
- 1
proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/sound/SoundTask.java View File

@@ -79,7 +79,7 @@ public class SoundTask extends Task

}

public void init()
public void initialize()
{
}



+ 3
- 3
proposal/myrmidon/src/todo/org/apache/tools/ant/Task.java View File

@@ -19,7 +19,7 @@ public abstract class Task
* example, if target1 and target2 both depend on target3, then running "ant
* target1 target2" will run all tasks in target3 twice.
*
* @throws BuildException if someting goes wrong with the build
* @throws TaskException if someting goes wrong with the build
*/
public void execute()
throws TaskException
@@ -29,9 +29,9 @@ public abstract class Task
/**
* Called by the project to let the task initialize properly.
*
* @throws BuildException if someting goes wrong with the build
* @throws TaskException if someting goes wrong with the build
*/
public void init()
public void initialize()
throws TaskException
{
}


+ 1
- 1
proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/ANTLR.java View File

@@ -146,7 +146,7 @@ public class ANTLR extends Task
*
* @exception TaskException Description of Exception
*/
public void init()
public void initialize()
throws TaskException
{
addClasspathEntry( "/antlr/Tool.class" );


+ 1
- 1
proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java View File

@@ -395,7 +395,7 @@ public class JUnitTask extends Task
* classpath - this should make the forked JVM work without having to
* specify them directly.
*/
public void init()
public void initialize()
{
addClasspathEntry( "/junit/framework/TestCase.class" );
addClasspathEntry( "/org/apache/tools/ant/Task.class" );


+ 1
- 1
proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/perforce/P4Base.java View File

@@ -93,7 +93,7 @@ public abstract class P4Base extends org.apache.tools.ant.Task
this.P4View = P4View;
}

public void init()
public void initialize()
{

util = new Perl5Util();


+ 1
- 1
proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/sound/SoundTask.java View File

@@ -79,7 +79,7 @@ public class SoundTask extends Task

}

public void init()
public void initialize()
{
}



Loading…
Cancel
Save