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/10/26 22:11:38 UTC
svn commit: r1027719 -
/activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java
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) {