You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2017/01/25 08:22:13 UTC

jclouds git commit: Correct regex in ExpandProperties

Repository: jclouds
Updated Branches:
  refs/heads/master 87a6f2a61 -> 1c524cadb


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/1c524cad
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/1c524cad
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/1c524cad

Branch: refs/heads/master
Commit: 1c524cadbb16cf30501cc64d52ea15faf4979533
Parents: 87a6f2a
Author: Andrew Gaul <ga...@apache.org>
Authored: Tue Jan 24 23:17:42 2017 -0800
Committer: Andrew Gaul <ga...@apache.org>
Committed: Wed Jan 25 00:21:48 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/1c524cad/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) {