commit | bbe8291960e18635b8ca3d878ac16d2e031b1382 | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Mon Mar 21 16:56:30 2016 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Mon Mar 21 16:56:30 2016 +0000 |
tree | 625fecd1eec4ffd82f27ba29f6ad262f3ca6acb0 | |
parent | ad92f9bd1bd9b3c79797b40060bc05fc2acc9d64 [diff] |
Fix duplicate computation of regex git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1736027 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Expander.java b/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Expander.java index ec9f699..52fcd4f 100644 --- a/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Expander.java +++ b/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Expander.java
@@ -901,7 +901,6 @@ r = ""; } } else { - p = toRegexPattern(val2.toString(), op.length() == 1); r = ""; } String m = op.charAt(0) == '#' ? "^" + p : op.charAt(0) == '%' ? p + "$" : p;