mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
StreamToLoop: inline simple common method references
This commit is contained in:
@@ -8,7 +8,7 @@ public class Main {
|
||||
private static void test(List<String> list) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for (String str : list) {
|
||||
if (Objects.nonNull(str)) {
|
||||
if (str != null) {
|
||||
sb.append(str);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user