[romka] debug, not warn

This commit is contained in:
peter
2012-02-20 14:32:14 +01:00
parent e37a46ecc2
commit 1fb5988fa8
2 changed files with 3 additions and 2 deletions
@@ -51,7 +51,7 @@ public class DefaultClsStubBuilderFactory extends ClsStubBuilderFactory {
return file;
}
catch (Exception e) {
LOG.warn(vFile.getPath(), e);
LOG.debug(vFile.getPath(), e);
throw new ClsFormatException();
}
}
@@ -22,7 +22,6 @@ import com.intellij.codeInsight.completion.CompletionType;
import com.intellij.codeInsight.completion.impl.CompletionServiceImpl;
import com.intellij.codeInsight.lookup.LookupManager;
import com.intellij.codeInsight.lookup.impl.LookupImpl;
import com.intellij.ide.DataManager;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.Document;
@@ -50,12 +49,14 @@ public class CompletionAutoPopupHandler extends TypedHandlerDelegate {
PsiFile file,
FileType fileType) {
CompletionPhase phase = CompletionServiceImpl.getCompletionPhase();
/*
if (phase instanceof CompletionPhase.EmptyAutoPopup) {
long modificationStampBeforeTyping = editor.getDocument().getModificationStamp();
((CompletionPhase.EmptyAutoPopup)phase).handleTyping(c);
AutoHardWrapHandler.getInstance().wrapLineIfNecessary(editor, DataManager.getInstance().getDataContext(editor.getContentComponent()), modificationStampBeforeTyping);
return Result.STOP;
}
*/
return Result.CONTINUE;
}