From 58904a094be90dbf2fcdc059f3aa698ded8fb339 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sun, 16 Dec 2001 06:44:16 +0000 Subject: [PATCH] Remove some unused cruft. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270223 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/org/apache/tools/ant/Project.java | 64 ------------------- .../todo/org/apache/tools/ant/Project.java | 64 ------------------- 2 files changed, 128 deletions(-) diff --git a/proposal/myrmidon/src/main/org/apache/tools/ant/Project.java b/proposal/myrmidon/src/main/org/apache/tools/ant/Project.java index 6135e9333..e8f2f41e4 100644 --- a/proposal/myrmidon/src/main/org/apache/tools/ant/Project.java +++ b/proposal/myrmidon/src/main/org/apache/tools/ant/Project.java @@ -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. diff --git a/proposal/myrmidon/src/todo/org/apache/tools/ant/Project.java b/proposal/myrmidon/src/todo/org/apache/tools/ant/Project.java index 6135e9333..e8f2f41e4 100644 --- a/proposal/myrmidon/src/todo/org/apache/tools/ant/Project.java +++ b/proposal/myrmidon/src/todo/org/apache/tools/ant/Project.java @@ -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.