don't swear on unknown element types, it's normal now 94.492 94.498
authorpeter <peter.gromov@jetbrains.com>
Fri, 5 Mar 2010 23:31:12 +0000 (23:31 +0000)
committerpeter <peter.gromov@jetbrains.com>
Fri, 5 Mar 2010 23:31:12 +0000 (23:31 +0000)
platform/lang-impl/src/com/intellij/refactoring/util/DefaultNonCodeSearchElementDescriptionProvider.java

index 030ac3bf45cbb4016e3dd0222e867a164f856297..12d60797cbc3d26f18c835439a4302800f2ba478 100644 (file)
@@ -55,7 +55,7 @@ public class DefaultNonCodeSearchElementDescriptionProvider implements ElementDe
       return ((PsiNamedElement)element).getName();
     }
     else {
-      LOG.error("Unknown element type: " + element);
+     // LOG.error("Unknown element type: " + element);
       return null;
     }
   }