mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
change signature: no sense to check method return type by default
This commit is contained in:
-5
@@ -199,11 +199,6 @@ public abstract class ChangeSignatureDialogBase<P extends ParameterInfo, M exten
|
||||
|
||||
JLabel typePrompt = new JLabel();
|
||||
panel.add(typePrompt);
|
||||
final String returnTypeText = myMethod.getReturnTypeText();
|
||||
if (returnTypeText == null) {
|
||||
LOG.error(myMethod.getClass().getName());
|
||||
return panel;
|
||||
}
|
||||
myReturnTypeCodeFragment = createReturnTypeCodeFragment();
|
||||
final Document document = PsiDocumentManager.getInstance(myProject).getDocument(myReturnTypeCodeFragment);
|
||||
myReturnTypeField = new EditorTextField(document, myProject, getFileType());
|
||||
|
||||
Reference in New Issue
Block a user