We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2d559d commit a2f9fdbCopy full SHA for a2f9fdb
jablib/src/main/java/org/jabref/logic/integrity/YearChecker.java
@@ -9,8 +9,8 @@
9
10
public class YearChecker implements ValueChecker {
11
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();
+ private static final Predicate<String> CONTAINS_FOUR_DIGIT = Pattern.compile("([^0-9]|^)[0-9]{4}([^0-9]|$)").asPredicate();
+ private static final Predicate<String> ENDS_WITH_FOUR_DIGIT = Pattern.compile("[0-9]{4}$").asPredicate();
14
private static final String PUNCTUATION_MARKS = "[(){},.;!?<>%&$]";
15
16
/**
0 commit comments