updated progress message in case when no dependent files found
authorEugene Zhuravlev <jeka@intellij.com>
Sat, 14 Aug 2010 13:41:56 +0000 (17:41 +0400)
committerEugene Zhuravlev <jeka@intellij.com>
Sat, 14 Aug 2010 13:41:56 +0000 (17:41 +0400)
java/compiler/impl/src/com/intellij/compiler/make/CacheUtils.java

index 69bfd9d5254d5b14f94c1febb656bd52310fe3c1..17fede94b7449bc5c2ab798ed1ad710144498cbe 100644 (file)
@@ -187,7 +187,9 @@ public class CacheUtils {
     if (_ex[0] != null) {
       throw _ex[0];
     }
-    context.getProgressIndicator().setText(CompilerBundle.message("progress.found.dependent.files", dependentFiles.size()));
+    context.getProgressIndicator().setText(
+      dependentFiles.size() > 0? CompilerBundle.message("progress.found.dependent.files", dependentFiles.size()) : ""
+    );
 
     return dependentFiles;
   }