Browse Source

Remove some unused cruft.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270223 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
58904a094b
2 changed files with 0 additions and 128 deletions
  1. +0
    -64
      proposal/myrmidon/src/main/org/apache/tools/ant/Project.java
  2. +0
    -64
      proposal/myrmidon/src/todo/org/apache/tools/ant/Project.java

+ 0
- 64
proposal/myrmidon/src/main/org/apache/tools/ant/Project.java View File

@@ -190,26 +190,6 @@ public class Project
log( "Detected OS: " + System.getProperty( "os.name" ), MSG_VERBOSE );
}

/**
* set a property. An existing property of the same name will not be
* overwritten.
*
* @param name name of property
* @param value new value of the property
* @since 1.5
*/
public void setNewProperty( String name, String value )
{
if( null != properties.get( name ) )
{
log( "Override ignored for property " + name, MSG_VERBOSE );
return;
}
log( "Setting project property: " + name + " -> " +
value, MSG_DEBUG );
properties.put( name, value );
}

/**
* get the base directory of the project as a file object
*
@@ -289,16 +269,6 @@ public class Project
return references;
}

/**
* get the target hashtable
*
* @return hashtable, the contents of which can be cast to Target
*/
public Hashtable getTargets()
{
return targets;
}

/**
* get the current task definition hashtable
*
@@ -347,16 +317,6 @@ public class Project
}
}

/**
* Output a message to the log with the default log level of MSG_INFO
*
* @param msg text to log
*/
public void log( String msg )
{
log( msg, MSG_INFO );
}

/**
* Output a message to the log with the given log level and an event scope
* of project
@@ -368,30 +328,6 @@ public class Project
{
}

/**
* Output a message to the log with the given log level and an event scope
* of a task
*
* @param task task to use in the log
* @param msg text to log
* @param msgLevel level to log at
*/
public void log( Task task, String msg, int msgLevel )
{
}

/**
* Output a message to the log with the given log level and an event scope
* of a target
*
* @param target target to use in the log
* @param msg text to log
* @param msgLevel level to log at
*/
public void log( Target target, String msg, int msgLevel )
{
}

/**
* Replace ${} style constructions in the given value with the string value
* of the corresponding data types.


+ 0
- 64
proposal/myrmidon/src/todo/org/apache/tools/ant/Project.java View File

@@ -190,26 +190,6 @@ public class Project
log( "Detected OS: " + System.getProperty( "os.name" ), MSG_VERBOSE );
}

/**
* set a property. An existing property of the same name will not be
* overwritten.
*
* @param name name of property
* @param value new value of the property
* @since 1.5
*/
public void setNewProperty( String name, String value )
{
if( null != properties.get( name ) )
{
log( "Override ignored for property " + name, MSG_VERBOSE );
return;
}
log( "Setting project property: " + name + " -> " +
value, MSG_DEBUG );
properties.put( name, value );
}

/**
* get the base directory of the project as a file object
*
@@ -289,16 +269,6 @@ public class Project
return references;
}

/**
* get the target hashtable
*
* @return hashtable, the contents of which can be cast to Target
*/
public Hashtable getTargets()
{
return targets;
}

/**
* get the current task definition hashtable
*
@@ -347,16 +317,6 @@ public class Project
}
}

/**
* Output a message to the log with the default log level of MSG_INFO
*
* @param msg text to log
*/
public void log( String msg )
{
log( msg, MSG_INFO );
}

/**
* Output a message to the log with the given log level and an event scope
* of project
@@ -368,30 +328,6 @@ public class Project
{
}

/**
* Output a message to the log with the given log level and an event scope
* of a task
*
* @param task task to use in the log
* @param msg text to log
* @param msgLevel level to log at
*/
public void log( Task task, String msg, int msgLevel )
{
}

/**
* Output a message to the log with the given log level and an event scope
* of a target
*
* @param target target to use in the log
* @param msg text to log
* @param msgLevel level to log at
*/
public void log( Target target, String msg, int msgLevel )
{
}

/**
* Replace ${} style constructions in the given value with the string value
* of the corresponding data types.


Loading…
Cancel
Save