mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
NPE
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ class InplaceIntroduceParameterPopup extends IntroduceParameterSettingsUI {
|
||||
|
||||
@Override
|
||||
protected int getReplaceFieldsWithGetters() {
|
||||
return (Integer)myReplaceFieldsCb.getSelectedItem();
|
||||
return myReplaceFieldsCb!= null ? (Integer)myReplaceFieldsCb.getSelectedItem() : IntroduceParameterRefactoring.REPLACE_FIELDS_WITH_GETTERS_INACCESSIBLE;
|
||||
}
|
||||
|
||||
void inplaceIntroduceParameter() {
|
||||
|
||||
Reference in New Issue
Block a user