mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 07:20:55 +07:00
11 lines
278 B
Java
11 lines
278 B
Java
// "Fix all ''Optional' can be replaced with sequence of 'if' statements' problems in file" "true"
|
|
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
|
|
void statementWithGetGeneratesThrowStatement() {
|
|
Object empty = null;
|
|
throw new NoSuchElementException("No value present");
|
|
}
|
|
} |