git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270566 13f79535-47bb-0310-9956-ffa450edef68remotes/1776816827838153613/tmp_25f451bd36ab3145e487fcb2cd5c62c571e5b602
| @@ -165,11 +165,7 @@ public class Available | |||||
| if( eval() ) | if( eval() ) | ||||
| { | { | ||||
| if( null == getProject().getProperty( m_property ) ) | |||||
| { | |||||
| setProperty( m_property, m_value ); | |||||
| } | |||||
| //else ignore | |||||
| setProperty( m_property, m_value ); | |||||
| } | } | ||||
| } | } | ||||
| @@ -142,14 +142,7 @@ public class Input extends Task | |||||
| // adopted from org.apache.tools.ant.taskdefs.Property | // adopted from org.apache.tools.ant.taskdefs.Property | ||||
| if( addproperty != null ) | if( addproperty != null ) | ||||
| { | { | ||||
| if( getProject().getProperty( addproperty ) == null ) | |||||
| { | |||||
| setProperty( addproperty, input ); | |||||
| } | |||||
| else | |||||
| { | |||||
| getLogger().debug( "Override ignored for " + addproperty ); | |||||
| } | |||||
| setProperty( addproperty, input ); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -165,11 +165,7 @@ public class Available | |||||
| if( eval() ) | if( eval() ) | ||||
| { | { | ||||
| if( null == getProject().getProperty( m_property ) ) | |||||
| { | |||||
| setProperty( m_property, m_value ); | |||||
| } | |||||
| //else ignore | |||||
| setProperty( m_property, m_value ); | |||||
| } | } | ||||
| } | } | ||||
| @@ -142,14 +142,7 @@ public class Input extends Task | |||||
| // adopted from org.apache.tools.ant.taskdefs.Property | // adopted from org.apache.tools.ant.taskdefs.Property | ||||
| if( addproperty != null ) | if( addproperty != null ) | ||||
| { | { | ||||
| if( getProject().getProperty( addproperty ) == null ) | |||||
| { | |||||
| setProperty( addproperty, input ); | |||||
| } | |||||
| else | |||||
| { | |||||
| getLogger().debug( "Override ignored for " + addproperty ); | |||||
| } | |||||
| setProperty( addproperty, input ); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||