mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 21:52:48 +07:00
GitOrigin-RevId: 5bf99d55f72040dd8e2d5d43537e5836e7923d56
15 lines
328 B
Java
15 lines
328 B
Java
import java.util.List;
|
|
|
|
// IDEA-318996
|
|
public class BoxedBooleanNullableTrue {
|
|
protected void doSomething(String s, List<Boolean> list) {
|
|
Boolean value = checkString(s) ? true : null;
|
|
if (list != null) {
|
|
list.add(value);
|
|
}
|
|
}
|
|
|
|
private boolean checkString(String s) {
|
|
return s.equals("la la la");
|
|
}
|
|
} |