mirror of
https://github.com/apache/jclouds.git
synced 2026-08-07 12:46:56 +00:00
Correct regex in ExpandProperties
Previously Android choked on this incomplete regex.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user