Skip to content

Commit

Permalink
spotless apply
Browse files Browse the repository at this point in the history
  • Loading branch information
not-napoleon committed Dec 8, 2023
1 parent 26eef99 commit ba378e6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ private void testEvaluate(boolean readFloating) {
assertWarnings(testCase.getExpectedWarnings());
}
}

private Object toJavaObjectUnsignedLongAware(Block block, int position) {
Object result;
result = toJavaObject(block, position);
Expand All @@ -263,6 +264,7 @@ private Object toJavaObjectUnsignedLongAware(Block block, int position) {
}
return result;
}

/**
* Evaluates a {@link Block} of values, all copied from the input pattern, read directly from the page.
* <p>
Expand Down Expand Up @@ -526,7 +528,8 @@ public final void testFold() {
if (testCase.expectedType == DataTypes.UNSIGNED_LONG && result != null) {
result = NumericUtils.unsignedLongAsBigInteger((Long) result);
}
assertThat(result, testCase.getMatcher()); if (testCase.getExpectedWarnings() != null) {
assertThat(result, testCase.getMatcher());
if (testCase.getExpectedWarnings() != null) {
assertWarnings(testCase.getExpectedWarnings());
}
}
Expand Down

0 comments on commit ba378e6

Please sign in to comment.