From e6036622b176c5ce8ca279f41cf728543dcb4fc1 Mon Sep 17 00:00:00 2001 From: Oleg Shpynov Date: Fri, 29 Jan 2010 17:58:12 +0300 Subject: [PATCH] cleanup --- .../extractmethod/ExtractMethodDialog.java | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/refactoring/extractmethod/ExtractMethodDialog.java b/platform/lang-impl/src/com/intellij/refactoring/extractmethod/ExtractMethodDialog.java index 26acf72a25d1..c0547b43ff59 100644 --- a/platform/lang-impl/src/com/intellij/refactoring/extractmethod/ExtractMethodDialog.java +++ b/platform/lang-impl/src/com/intellij/refactoring/extractmethod/ExtractMethodDialog.java @@ -174,28 +174,10 @@ public class ExtractMethodDialog extends DialogWrapper implements ExtractMethodS builder.append(outputName); } } - myOutputVariablesTextArea.setText(builder.length() > 0 ? builder.toString() : RefactoringBundle.message("Empty output variables")); + myOutputVariablesTextArea.setText(builder.length() > 0 ? builder.toString() : "None"); } private void updateSignature() { - //final StringBuilder builder = new StringBuilder(); - //builder.append(PyTokenTypes.DEF_KEYWORD.toString()).append(' ').append(getMethodName()); - //builder.append("("); - //if (myVariableData!=null){ - // boolean first = true; - // for (VariableData variableData : myVariableData) { - // if (variableData.passAsParameter){ - // if (first){ - // first = false; - // } else { - // builder.append(", "); - // } - // builder.append(variableData.name); - // } - // } - //} - //builder.append(")\nend"); - //mySignaturePreviewTextArea.setText(builder.toString()); mySignaturePreviewTextArea.setText(myDecorator.createMethodPreview(getMethodName(), myVariableData)); }