Browse Source

Inline some methods to reduce chance of conflicts with tasks

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271114 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
2f882dd463
1 changed files with 0 additions and 19 deletions
  1. +0
    -19
      proposal/myrmidon/src/java/org/apache/myrmidon/api/AbstractTask.java

+ 0
- 19
proposal/myrmidon/src/java/org/apache/myrmidon/api/AbstractTask.java View File

@@ -61,11 +61,6 @@ public abstract class AbstractTask
return getContext().get( key ); return getContext().get( key );
} }


protected final String getName()
{
return getContext().getName();
}

//Needs to be made protected //Needs to be made protected
public final File getBaseDirectory() public final File getBaseDirectory()
{ {
@@ -89,20 +84,6 @@ public abstract class AbstractTask
return getContext().getProperty( name ); return getContext().getProperty( name );
} }


protected final void setProperty( final String name, final Object value )
throws TaskException
{
getContext().setProperty( name, value );
}

protected final void setProperty( final String name,
final Object value,
final TaskContext.ScopeEnum scope )
throws TaskException
{
getContext().setProperty( name, value, scope );
}

protected final Object getService( final Class serviceClass ) protected final Object getService( final Class serviceClass )
throws TaskException throws TaskException
{ {


Loading…
Cancel
Save