import java.io.IOException;
import java.io.PrintWriter;
import java.text.MessageFormat;
+import java.util.Date;
import java.util.Locale;
import java.util.Locale.Category;
pw.println(cmdLine);
pw.flush();
Command.Result fbResult = new Command().exec(cmdLine);
+ pw.println("==> " + fbResult.getRetCode());
+ pw.flush();
if (0 != fbResult.getRetCode()) {
// Our attempt to execute FindBugs failed.
// Report the error and return null.
return null;
}
+ result.setEnd(new Date());
result.parse(new InputSource(fbOutput.getAbsolutePath()));
result.dump(pw);
return result;