get rid of getPsiRoots() usages since they are indeterminate

This commit is contained in:
Alexey Kudravtsev
2012-02-08 16:29:35 +04:00
parent deb6850e59
commit 57f889295b
16 changed files with 84 additions and 67 deletions
@@ -108,7 +108,7 @@ public abstract class JavaParsingTestCase extends ParsingTestCase {
myFile = createPsiFile(name, text, parser);
myFile.putUserData(PsiUtil.FILE_LANGUAGE_LEVEL_KEY, myLanguageLevel);
try {
checkResult(name + ".txt", myFile);
checkResult(name, myFile);
}
catch (IOException e) {
throw new RuntimeException(e);