Skip to content

Commit

Permalink
fix: android compatibility (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar committed Nov 22, 2019
1 parent 67be1d2 commit b3d6037
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@
*
* @author Jakub Bednar (bednar@github) (28/06/2019 09:06)
*/
@SuppressWarnings("RegExpRedundantEscape")
public final class PointSettings {

private static final Pattern ENV_PROPERTY = Pattern.compile("(\\$\\{env\\.)(.+)(})");
private static final Pattern SYSTEM_PROPERTY = Pattern.compile("(\\$\\{)(.+)(})");
// Android compiler compatibility
private static final Pattern ENV_PROPERTY = Pattern.compile("(\\$\\{env\\.)(.+)\\}");
private static final Pattern SYSTEM_PROPERTY = Pattern.compile("(\\$\\{)(.+)(\\})");

private final Map<String, String> defaultTags = new TreeMap<>();

Expand Down

0 comments on commit b3d6037

Please sign in to comment.