Skip to content

Commit a2f9fdb

Browse files
author
Houssem Nasri
committed
Reset static fields visibility to private in YearChecker
1 parent a2d559d commit a2f9fdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jablib/src/main/java/org/jabref/logic/integrity/YearChecker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
public class YearChecker implements ValueChecker {
1111

12-
public static final Predicate<String> CONTAINS_FOUR_DIGIT = Pattern.compile("([^0-9]|^)[0-9]{4}([^0-9]|$)").asPredicate();
13-
public static final Predicate<String> ENDS_WITH_FOUR_DIGIT = Pattern.compile("[0-9]{4}$").asPredicate();
12+
private static final Predicate<String> CONTAINS_FOUR_DIGIT = Pattern.compile("([^0-9]|^)[0-9]{4}([^0-9]|$)").asPredicate();
13+
private static final Predicate<String> ENDS_WITH_FOUR_DIGIT = Pattern.compile("[0-9]{4}$").asPredicate();
1414
private static final String PUNCTUATION_MARKS = "[(){},.;!?<>%&$]";
1515

1616
/**

0 commit comments

Comments
 (0)