Fixing failing tests. New formatter could only be used against LanguageFileTypes.

This commit is contained in:
Maxim Shafirov
2005-02-03 14:11:49 +03:00
parent 25edc73223
commit 4c7a275296
@@ -138,7 +138,7 @@ public class CodeFormatterFacade implements Constants {
}
private boolean useNewFormatter(FileType fileType) {
return true;
return fileType instanceof LanguageFileType;
}
private ASTNode processRange(ASTNode element, int[] bounds) {