mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
Fixed EA-96417 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// "Replace Optional.isPresent() condition with functional style expression" "false"
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
public class Main {
|
||||
public void test(Optional<String> opt) {
|
||||
System.out.println(opt.<caret>isPresent() ? opt.get():);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user