From b2219e6e662502da7f1fa3e289a4e8055bc5c922 Mon Sep 17 00:00:00 2001 From: Danila Ponomarenko Date: Thu, 31 May 2012 20:09:56 +0400 Subject: [PATCH] garbage removed --- .../wordSelection/MethodOrClassSelectioner.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/java/java-impl/src/com/intellij/codeInsight/editorActions/wordSelection/MethodOrClassSelectioner.java b/java/java-impl/src/com/intellij/codeInsight/editorActions/wordSelection/MethodOrClassSelectioner.java index bc8f8951217b..d727b850ff20 100644 --- a/java/java-impl/src/com/intellij/codeInsight/editorActions/wordSelection/MethodOrClassSelectioner.java +++ b/java/java-impl/src/com/intellij/codeInsight/editorActions/wordSelection/MethodOrClassSelectioner.java @@ -100,16 +100,4 @@ public class MethodOrClassSelectioner extends BasicSelectioner { } return Collections.emptyList(); } - - private static Collection selectWithoutDocComment(@NotNull PsiElement[] children, - @NotNull CharSequence editorText) { - int start = CodeBlockOrInitializerSelectioner.findOpeningBrace(children); - // in non-Java PsiClasses, there can be no opening brace - if (start != 0) { - int end = CodeBlockOrInitializerSelectioner.findClosingBrace(children, start); - - return expandToWholeLine(editorText, new TextRange(start, end)); - } - return Collections.emptyList(); - } }