mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert "[java-highlighting] IJ-CR-125397 IDEA-344235 support calls with checked exceptions for instanceOf patterns"
This reverts commit a6218b0150d17dc44940b392817e30c17f18adc0. GitOrigin-RevId: 9283459df91e19bb1ad094a4101bdfebb865013b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
aa94146c31
commit
35ff272201
@@ -70,15 +70,8 @@ public class ControlFlowOptions {
|
||||
* @see #shouldEvaluateConstantIfCondition()
|
||||
*/
|
||||
public ControlFlowOptions dontEvaluateConstantIfCondition() {
|
||||
if (myEvaluateConstantIfCondition) {
|
||||
if (!myOnlyExplicitExceptions) {
|
||||
return create(myEnableShortCircuit, false, myExceptionAfterAssignment);
|
||||
}
|
||||
else {
|
||||
return new ControlFlowOptions(myEnableShortCircuit, false, myExceptionAfterAssignment, myOnlyExplicitExceptions);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
return myEvaluateConstantIfCondition ?
|
||||
create(myEnableShortCircuit, false, myExceptionAfterAssignment) : this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user