Skip to content

Commit 5a9c673

Browse files
committed
linter fixes
1 parent dbaf9ce commit 5a9c673

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

finish/src/main/java/io/openliberty/guides/data/PackageQueryService.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,13 @@ void checkForID(Method method, List<Object> params) {
238238
}
239239

240240
boolean excludeMethod(Method m) {
241-
if (excludedMethods.contains(m.getName()))
241+
if (excludedMethods.contains(m.getName())) {
242242
return true;
243+
}
243244
// exclude methods that accept an Order
244-
if (Arrays.asList(m.getParameterTypes()).contains(jakarta.data.Order.class))
245+
if (Arrays.asList(m.getParameterTypes()).contains(jakarta.data.Order.class)) {
245246
return true;
247+
}
246248
return false;
247249
}
248250

0 commit comments

Comments
 (0)