Skip to content

Commit 2ca72b8

Browse files
committed
Add missing Javadoc comment to FixPredicate. (#652, #577)
1 parent c655c4a commit 2ca72b8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

metafix/src/main/java/org/metafacture/metafix/api/FixPredicate.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ default boolean testStringConditional(final Record record, final List<String> pa
129129
));
130130
}
131131

132+
/**
133+
* Tests the number against the conditional.
134+
*
135+
* @param string the number as a String
136+
* @param conditional the conditional
137+
*
138+
* @return true if the string is a number and matches the conditional
139+
*/
132140
static boolean testNumberConditional(final String string, final Predicate<BigDecimal> conditional) {
133141
try {
134142
final BigDecimal number = new BigDecimal(string);

0 commit comments

Comments
 (0)