mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
13 lines
311 B
Java
13 lines
311 B
Java
// "Fix all ''Optional' can be replaced with sequence of 'if' statements' problems in file" "true"
|
|
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
|
|
void statementWithIfPresentWithMultipleInstuctionsGeneratesCodeBlock(String s) {
|
|
if (s != null) {
|
|
s = s.trim();
|
|
System.out.println(s);
|
|
}
|
|
}
|
|
} |