[jboss-cvs] JBossAS SVN: r57296 - branches/JEE5_TCK/system/src/main/org/jboss/system/metadata

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Sep 30 00:02:28 EDT 2006


Author: scott.stark at jboss.org
Date: 2006-09-30 00:02:26 -0400 (Sat, 30 Sep 2006)
New Revision: 57296

Modified:
   branches/JEE5_TCK/system/src/main/org/jboss/system/metadata/ServiceMetaDataParser.java
Log:
use replaceAttribute in the getElementTextContent(element) call as the input replace argument is unrelated to attribute text replacement

Modified: branches/JEE5_TCK/system/src/main/org/jboss/system/metadata/ServiceMetaDataParser.java
===================================================================
--- branches/JEE5_TCK/system/src/main/org/jboss/system/metadata/ServiceMetaDataParser.java	2006-09-30 02:45:59 UTC (rev 57295)
+++ branches/JEE5_TCK/system/src/main/org/jboss/system/metadata/ServiceMetaDataParser.java	2006-09-30 04:02:26 UTC (rev 57296)
@@ -140,7 +140,7 @@
     * 
     * @param services the list of service meta data
     * @param mbeanElement the mbean configuration
-    * @param replace whether to replace system properties
+    * @param replace whether to replace system properties.
     * @return the ObjectName of the parsed mbean
     * @throws Exception for any error
     */
@@ -249,7 +249,7 @@
                      }
                   }
                   if (value == null)
-                     value = new ServiceTextValueMetaData(getElementTextContent(element, trim, replace));
+                     value = new ServiceTextValueMetaData(getElementTextContent(element, trim, replaceAttribute));
                }
                
                ServiceAttributeMetaData attribute = new ServiceAttributeMetaData();
@@ -558,7 +558,7 @@
     * 
     * @param element the element
     * @param trim whether to trim
-    * @param replace whetehr to replace properties
+    * @param replace whether to replace properties
     * @return the concatentation of the text nodes
     * @throws Exception for any error
     */




More information about the jboss-cvs-commits mailing list