add newlines to the feedback from jikes error messages

This commit is contained in:
benfry
2004-06-21 23:28:37 +00:00
parent 86e6a83bcc
commit 4bbcc4c0f5
2 changed files with 7 additions and 7 deletions

View File

@@ -183,8 +183,9 @@ public class PdeCompiler implements PdeMessageConsumer {
* and line number, which is then reported back to PdeEditor.
*/
public void message(String s) {
//System.err.println("MSG: " + s);
System.err.print(s);
// This receives messages as full lines, so a newline needs
// to be added as they're printed to the console.
System.err.println(s);
// ignore cautions
if (s.indexOf("Caution") != -1) return;