activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1050170 - /activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java
Date Thu, 16 Dec 2010 21:32:54 GMT
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 {



Mime
View raw message