minor output message improvement.
@@ -478,6 +478,9 @@ public class MigrateJCas extends VoidVisitorAdapter<Object> {
throw new RuntimeException(e);
}
+ if (pearsOrJars.size() == 0) {
+ System.out.format("No .class files were replaced in %s%n.", kind);
+ } else {
System.out.format("replacing .class files in %,d %s%n", pearsOrJars.size(), kind);
for (PearOrJar p : pearsOrJars) {
pearOrJarPostProcessing(p, kind);
@@ -488,6 +491,7 @@ public class MigrateJCas extends VoidVisitorAdapter<Object> {
} catch (IOException e) {
throw new RuntimeException(e);
}
+ }
}
