Skip to content

Commit 76b5929

Browse files
author
Vladimir Kotal
committed
make the constants private
1 parent 42f8ab6 commit 76b5929

File tree

1 file changed

+2
-2
lines changed
  • opengrok-indexer/src/main/java/org/opengrok/indexer/configuration

1 file changed

+2
-2
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/configuration/PatternUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private PatternUtil() {
3434
* A check if a pattern contains at least one pair of parentheses meaning
3535
* that there is at least one capture group. This group must not be empty.
3636
*/
37-
static final String PATTERN_SINGLE_GROUP = ".*\\([^\\)]+\\).*";
37+
private static final String PATTERN_SINGLE_GROUP = ".*\\([^\\)]+\\).*";
3838
/**
3939
* Error string for invalid patterns without a single group. This is passed
4040
* as a first argument to the constructor of PatternSyntaxException and in
@@ -43,7 +43,7 @@ private PatternUtil() {
4343
* @see PatternSyntaxException
4444
* @see #PATTERN_SINGLE_GROUP
4545
*/
46-
static final String PATTERN_MUST_CONTAIN_GROUP = "The pattern must contain at least one non-empty group -";
46+
private static final String PATTERN_MUST_CONTAIN_GROUP = "The pattern must contain at least one non-empty group -";
4747

4848
/**
4949
* Check and compile the bug pattern.

0 commit comments

Comments
 (0)