chore: fix left-over checkstyle issues
@@ -43,6 +43,13 @@ BigDecimal multiply(BigDecimal n) {
}
}
+ protected static final Pattern pattern = Pattern.compile(
+ "(?<n>\\d+([.,]\\d*)?)" + // digits, maybe also a decimal part
+ "\\s*" +
+ "(?<suffix>\\p{Alpha})?b?", // a suffix character, optionally followed by B
+ Pattern.CASE_INSENSITIVE
+ );
+
@Override
public Long convert(String value) {
if (value == null) {
@@ -61,11 +68,4 @@ public Long convert(String value) {
}
return n.toBigInteger().longValueExact();
}
-
- protected final static Pattern pattern = Pattern.compile(
- "(?<n>\\d+([.,]\\d*)?)" + // digits, maybe also a decimal part
- "\\s*" +
- "(?<suffix>\\p{Alpha})?b?", // a suffix character, optionally followed by B
- Pattern.CASE_INSENSITIVE
- );
}
