fixed string format newline character

Former-commit-id: 490c6b3666f03c6796ddd9b47ce83fe8bc070645
This commit is contained in:
Jeremy Long
2013-11-16 13:03:46 -05:00
parent 3188b0f6cb
commit d71e61df8b

View File

@@ -281,12 +281,11 @@ public class Engine {
* Runs the analyzers against all of the dependencies.
*/
public void analyzeDependencies() {
//need to ensure that data exists
try {
ensureDataExists();
} catch (NoDataException ex) {
String msg = String.format("\n\n%s\n\nUnable to continue dependency-check analysis.", ex.getMessage());
String msg = String.format("%n%n%s%n%nUnable to continue dependency-check analysis.", ex.getMessage());
Logger.getLogger(Engine.class.getName()).log(Level.SEVERE, msg);
Logger.getLogger(Engine.class.getName()).log(Level.FINE, null, ex);
return;