Skip to content

Commit 5a97f80

Browse files
committed
Fix failing UnnecessaryParenthesesTest test
1 parent 205d158 commit 5a97f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/openrewrite/staticanalysis/UnnecessaryParenthesesTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ void doNothing() {
268268
String t = ("literallyString" + "stringLiteral");
269269
if (s == null) {
270270
s = null;
271-
} else if (("someLiteral".toLowerCase()).equals(s)) {
271+
} else if ("someLiteral".toLowerCase().equals(s)) {
272272
s = null;
273273
}
274274
}

0 commit comments

Comments
 (0)