You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2010/12/16 22:32:54 UTC

svn commit: r1050170 - /activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java

Author: chirino
Date: Thu Dec 16 21:32:54 2010
New Revision: 1050170

URL: http://svn.apache.org/viewvc?rev=1050170&view=rev
Log:
Pull properties out of the right map.

Modified:
    activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java

Modified: activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java?rev=1050170&r1=1050169&r2=1050170&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java (original)
+++ activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java Thu Dec 16 21:32:54 2010
@@ -61,7 +61,8 @@ public class XmlCodec {
                 if (!matcher.find(start)) {
                     break;
                 }
-                String property = System.getProperty(matcher.group(1));
+                String group = matcher.group(1);
+                String property = props.getProperty(group);
                 if (property != null) {
                     str = matcher.replaceFirst(Matcher.quoteReplacement(property));
                 } else {