Tests got fixed.
authorDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Wed, 16 Feb 2011 14:39:40 +0000 (17:39 +0300)
committerDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Wed, 16 Feb 2011 14:39:40 +0000 (17:39 +0300)
platform/lang-impl/src/com/intellij/codeInsight/template/impl/TemplateManagerImpl.java

index 0ca200c12a640b0fd817914a3f2f5daa7a982df3..f3e2cc9a7bd4a3f49dcc463e42d651c410f6c1f0 100644 (file)
@@ -98,6 +98,7 @@ public class TemplateManagerImpl extends TemplateManager implements ProjectCompo
     return new TemplateImpl(key, text, group);
   }
 
+  @Nullable
   public static TemplateState getTemplateState(Editor editor) {
     return editor.getUserData(TEMPLATE_STATE_KEY);
   }