This commit is contained in:
Roman Shevchenko
2010-09-09 18:39:48 +04:00
parent 1b4a8bf383
commit fac6410e0d
@@ -399,7 +399,7 @@ public class CodeCompletionHandlerBase implements CodeInsightActionHandler {
if (fileCopy == null) {
PsiElement elementAfterCommit = findElementAt(hostFile, hostStartOffset);
if (wasInjected) {
LOG.error("No injected fragmnent found at offset " + hostStartOffset + " in the patched file copy, found: " + elementAfterCommit);
LOG.error("No injected fragment found at offset " + hostStartOffset + " in the patched file copy, found: " + elementAfterCommit);
}
fileCopy = elementAfterCommit == null ? oldFileCopy : elementAfterCommit.getContainingFile();
}