mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
StreamToLoop: inline simple common method references
This commit is contained in:
@@ -11,7 +11,7 @@ public class Main {
|
||||
long sum = 0;
|
||||
long count = 0;
|
||||
for (String s1 : list) {
|
||||
if (Objects.nonNull(s1)) {
|
||||
if (s1 != null) {
|
||||
sum += s1.length();
|
||||
count++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user