revert wrong change idea/96.935
authorAlexey Pegov <alexey.pegov@jetbrains.com>
Fri, 13 Aug 2010 12:30:55 +0000 (16:30 +0400)
committerAlexey Pegov <alexey.pegov@jetbrains.com>
Fri, 13 Aug 2010 12:30:55 +0000 (16:30 +0400)
java/compiler/impl/src/com/intellij/compiler/impl/javaCompiler/BackendCompilerWrapper.java

index ce39f72ccdea4418cc72d1cdfc53f295c689d45a..3e41738c0d3ee5aa31686f336a758f9c8a920f88 100644 (file)
@@ -176,7 +176,7 @@ public class BackendCompilerWrapper {
       }
     }
     finally {
-      if (fileToDelete != null && myCompileContext.getMessageCount(CompilerMessageCategory.ERROR) == 0) {
+      if (fileToDelete != null) {
         FileUtil.asyncDelete(fileToDelete);
       }
     }