Skip to content

Commit

Permalink
Merge pull request #12 from alenon/develop
Browse files Browse the repository at this point in the history
version 1.2.1 created
  • Loading branch information
alenon committed May 28, 2018
2 parents e0716b1 + f670d16 commit 84fb419
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jwildcard/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
id "org.sonarqube" version "2.6"
}

version '1.2'
version '1.2.1'
group 'com.yevdo'

repositories {
Expand Down
4 changes: 4 additions & 0 deletions jwildcard/src/main/java/com/yevdo/jwildcard/JWildcard.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ public class JWildcard {
private static final JWildcardRule STAR_RULE = new JWildcardRule("*", ".*");
private static final JWildcardRules DEFAULT_RULES = new JWildcardRules(new HashSet<>(Arrays.asList(QUESTION_MARK_RULE, STAR_RULE)));

private JWildcard() {
throw new IllegalStateException("JWildcard is a utility class, and can't be instantiated");
}

/**
* Converts wildcard to regex using default set of rules and strict flag set to true
*
Expand Down

0 comments on commit 84fb419

Please sign in to comment.