activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1027719 - /activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java
Date Tue, 26 Oct 2010 20:11:38 GMT
Author: chirino
Date: Tue Oct 26 20:11:38 2010
New Revision: 1027719

URL: http://svn.apache.org/viewvc?rev=1027719&view=rev
Log:
Fixes property evaluation.

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=1027719&r1=1027718&r2=1027719&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
Tue Oct 26 20:11:38 2010
@@ -42,7 +42,7 @@ public class XmlCodec {
      */
     static public class PropertiesFilter extends StreamReaderDelegate {
 
-        static final Pattern pattern = Pattern.compile("\\$\\{[^\\}]\\}");
+        static final Pattern pattern = Pattern.compile("\\$\\{([^\\}]+)\\}");
         private final Properties props;
 
         public PropertiesFilter(XMLStreamReader parent, Properties props) {



Mime
View raw message