mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not insert final if final checkbox is disabled
This commit is contained in:
+1
-5
@@ -104,11 +104,7 @@ class IntroduceVariableDialog extends DialogWrapper implements IntroduceVariable
|
||||
}
|
||||
|
||||
public boolean isDeclareFinal() {
|
||||
if (myCbFinal.isEnabled()) {
|
||||
return myCbFinalState;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
return myCbFinal.isEnabled() && myCbFinalState;
|
||||
}
|
||||
|
||||
public boolean isReplaceLValues() {
|
||||
|
||||
Reference in New Issue
Block a user