From 664ecfc45914448ebe4de4e5853641090e72c5c8 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Thu, 4 Apr 2002 11:36:20 +0000 Subject: [PATCH] Remove the -ref construct from attributes. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272211 13f79535-47bb-0310-9956-ffa450edef68 --- .../components/configurer/DefaultConfigurer.java | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer/DefaultConfigurer.java b/proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer/DefaultConfigurer.java index 2c65a6bfa..cfe256750 100644 --- a/proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer/DefaultConfigurer.java +++ b/proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer/DefaultConfigurer.java @@ -419,18 +419,10 @@ public class DefaultConfigurer final TaskContext context ) throws Exception { - if( name.toLowerCase().endsWith( "-ref" ) ) - { - // A reference - setReference( state, name, value, context, false ); - } - else - { - // Set the value - final PropertyConfigurer property = - getConfigurerFromName( state.getConfigurer(), name, false, false ); - setValue( property, state, value, context ); - } + // Set the value + final PropertyConfigurer property = + getConfigurerFromName( state.getConfigurer(), name, false, false ); + setValue( property, state, value, context ); } /**