donaldp 01/12/15 22:44:16
Modified: proposal/myrmidon/src/main/org/apache/tools/ant Project.java
Log:
Remove some unused cruft.
Revision Changes Path
1.9 +0 -64
jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/Project.java
Index: Project.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/Project.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Project.java 2001/12/16 06:23:30 1.8
+++ Project.java 2001/12/16 06:44:16 1.9
@@ -191,26 +191,6 @@
}
/**
- * 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
*
* @return the base directory. If this is null, then the base dir is not
@@ -290,16 +270,6 @@
}
/**
- * 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
*
* @return The TaskDefinitions value
@@ -348,16 +318,6 @@
}
/**
- * 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
*
@@ -365,30 +325,6 @@
* @param msgLevel level to log at
*/
public void log( String msg, int msgLevel )
- {
- }
-
- /**
- * 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 )
{
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>