remove unused method
authorEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Wed, 17 Mar 2010 17:54:03 +0000 (20:54 +0300)
committerEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Wed, 17 Mar 2010 17:54:03 +0000 (20:54 +0300)
platform/lang-impl/src/com/intellij/codeInsight/template/impl/TemplateManagerImpl.java

index ba3d51d31d3bdb4dbcf7c1fe8b0ec7b3fbcc4a64..f468b813c4b07304cf279af050050e117688ed77 100644 (file)
@@ -220,20 +220,6 @@ public class TemplateManagerImpl extends TemplateManager implements ProjectCompo
     }
   }
 
-  private static boolean containsTemplateStartingBefore(Map<TemplateImpl, String> template2argument,
-                                                        int offset,
-                                                        int caretOffset,
-                                                        CharSequence text) {
-    for (TemplateImpl template : template2argument.keySet()) {
-      String argument = template2argument.get(template);
-      int templateStart = getTemplateStart(template, argument, caretOffset, text);
-      if (templateStart <= offset) {
-        return true;
-      }
-    }
-    return false;
-  }
-
   public boolean startTemplate(final Editor editor, char shortcutChar, final PairProcessor<String, String> processor) {
     PsiFile file = PsiUtilBase.getPsiFileInEditor(editor, myProject);
     if (file == null) return false;