Repository: jclouds
Updated Branches:
  refs/heads/2.0.x efc568b48 -> a5dd78b0c


Correct regex in ExpandProperties

Previously Android choked on this incomplete regex.


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/a5dd78b0
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/a5dd78b0
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/a5dd78b0

Branch: refs/heads/2.0.x
Commit: a5dd78b0cc1673998f41802e2a531e7ea42008cb
Parents: efc568b
Author: Andrew Gaul <[email protected]>
Authored: Tue Jan 24 23:17:42 2017 -0800
Committer: Andrew Gaul <[email protected]>
Committed: Wed Jan 25 00:22:28 2017 -0800

----------------------------------------------------------------------
 core/src/main/java/org/jclouds/functions/ExpandProperties.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/a5dd78b0/core/src/main/java/org/jclouds/functions/ExpandProperties.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/jclouds/functions/ExpandProperties.java 
b/core/src/main/java/org/jclouds/functions/ExpandProperties.java
index e8bb05b..7b3c1f3 100644
--- a/core/src/main/java/org/jclouds/functions/ExpandProperties.java
+++ b/core/src/main/java/org/jclouds/functions/ExpandProperties.java
@@ -36,7 +36,7 @@ import com.google.common.collect.Maps;
 public class ExpandProperties implements Function<Properties, Properties> {
 
    // Matches variables in a string such as ${foo.bar}
-   private static final Pattern VAR = Pattern.compile("\\$\\{[^\\}]+}");
+   private static final Pattern VAR = Pattern.compile("\\$\\{[^\\}]+\\}");
 
    @Override
    public Properties apply(final Properties properties) {

Reply via email to