@@ -360,6 +360,7 @@ public class PropertyHelper implements GetProperty {
* @param next the next property helper in the chain.
* @param next the next property helper in the chain.
* @deprecated use the delegate mechanism instead
* @deprecated use the delegate mechanism instead
*/
*/
@Deprecated
public void setNext(PropertyHelper next) {
public void setNext(PropertyHelper next) {
this.next = next;
this.next = next;
}
}
@@ -375,6 +376,7 @@ public class PropertyHelper implements GetProperty {
* @return the next property helper.
* @return the next property helper.
* @deprecated use the delegate mechanism instead
* @deprecated use the delegate mechanism instead
*/
*/
@Deprecated
public PropertyHelper getNext() {
public PropertyHelper getNext() {
return next;
return next;
}
}
@@ -445,6 +447,7 @@ public class PropertyHelper implements GetProperty {
* has a good reason not to).
* has a good reason not to).
* @deprecated PropertyHelper chaining is deprecated.
* @deprecated PropertyHelper chaining is deprecated.
*/
*/
@Deprecated
public boolean setPropertyHook(String ns, String name,
public boolean setPropertyHook(String ns, String name,
Object value,
Object value,
boolean inherited, boolean user,
boolean inherited, boolean user,
@@ -472,6 +475,7 @@ public class PropertyHelper implements GetProperty {
* @return The property, if returned by a hook, or null if none.
* @return The property, if returned by a hook, or null if none.
* @deprecated PropertyHelper chaining is deprecated.
* @deprecated PropertyHelper chaining is deprecated.
*/
*/
@Deprecated
public Object getPropertyHook(String ns, String name, boolean user) {
public Object getPropertyHook(String ns, String name, boolean user) {
if (getNext() != null) {
if (getNext() != null) {
Object o = getNext().getPropertyHook(ns, name, user);
Object o = getNext().getPropertyHook(ns, name, user);
@@ -519,6 +523,7 @@ public class PropertyHelper implements GetProperty {
* <code>}</code>
* <code>}</code>
* @deprecated use the other mechanisms of this class instead
* @deprecated use the other mechanisms of this class instead
*/
*/
@Deprecated
public void parsePropertyString(String value, Vector<String> fragments,
public void parsePropertyString(String value, Vector<String> fragments,
Vector<String> propertyRefs) throws BuildException {
Vector<String> propertyRefs) throws BuildException {
parsePropertyStringDefault(value, fragments, propertyRefs);
parsePropertyStringDefault(value, fragments, propertyRefs);
@@ -618,6 +623,7 @@ public class PropertyHelper implements GetProperty {
* @return true if the property is set.
* @return true if the property is set.
* @deprecated namespaces are unnecessary.
* @deprecated namespaces are unnecessary.
*/
*/
@Deprecated
public boolean setProperty(String ns, String name, Object value, boolean verbose) {
public boolean setProperty(String ns, String name, Object value, boolean verbose) {
return setProperty(name, value, verbose);
return setProperty(name, value, verbose);
}
}
@@ -675,6 +681,7 @@ public class PropertyHelper implements GetProperty {
* @since Ant 1.6
* @since Ant 1.6
* @deprecated namespaces are unnecessary.
* @deprecated namespaces are unnecessary.
*/
*/
@Deprecated
public void setNewProperty(String ns, String name, Object value) {
public void setNewProperty(String ns, String name, Object value) {
setNewProperty(name, value);
setNewProperty(name, value);
}
}
@@ -726,6 +733,7 @@ public class PropertyHelper implements GetProperty {
* Must not be <code>null</code>.
* Must not be <code>null</code>.
* @deprecated namespaces are unnecessary.
* @deprecated namespaces are unnecessary.
*/
*/
@Deprecated
public void setUserProperty(String ns, String name, Object value) {
public void setUserProperty(String ns, String name, Object value) {
setUserProperty(name, value);
setUserProperty(name, value);
}
}
@@ -768,6 +776,7 @@ public class PropertyHelper implements GetProperty {
* Must not be <code>null</code>.
* Must not be <code>null</code>.
* @deprecated namespaces are unnecessary.
* @deprecated namespaces are unnecessary.
*/
*/
@Deprecated
public void setInheritedProperty(String ns, String name, Object value) {
public void setInheritedProperty(String ns, String name, Object value) {
setInheritedProperty(name, value);
setInheritedProperty(name, value);
}
}
@@ -814,6 +823,7 @@ public class PropertyHelper implements GetProperty {
* or if a <code>null</code> name is provided.
* or if a <code>null</code> name is provided.
* @deprecated namespaces are unnecessary.
* @deprecated namespaces are unnecessary.
*/
*/
@Deprecated
public Object getProperty(String ns, String name) {
public Object getProperty(String ns, String name) {
return getProperty(name);
return getProperty(name);
}
}
@@ -862,6 +872,7 @@ public class PropertyHelper implements GetProperty {
* or if a <code>null</code> name is provided.
* or if a <code>null</code> name is provided.
* @deprecated namespaces are unnecessary.
* @deprecated namespaces are unnecessary.
*/
*/
@Deprecated
public Object getUserProperty(String ns, String name) {
public Object getUserProperty(String ns, String name) {
return getUserProperty(name);
return getUserProperty(name);
}
}