Skip to content

Commit 8e3c829

Browse files
committed
licensing and tabs
1 parent 49d9e43 commit 8e3c829

9 files changed

Lines changed: 627 additions & 597 deletions

app/PdeCompiler.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727

2828

2929
public class PdeCompiler implements PdeMessageConsumer{
30+
static final String SUPER_BADNESS =
31+
"Strange error while compiling, " +
32+
"please send this code to processing@media.mit.edu";
3033

3134
String buildPath;
3235
String className;
@@ -82,8 +85,7 @@ public boolean compileJava(PrintStream leechErr) {
8285
// fairly wrong, one possibility is that jikes has crashed.
8386
//
8487
if (result != 0 && result != 1 ) {
85-
exception = new PdeException("Error while compiling, " +
86-
"please send code to bugs@proce55ing.net");
88+
exception = new PdeException(SUPER_BADNESS);
8789
editor.error(exception);
8890
}
8991

app/PdeCompilerKjc.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ public void message(String s) {
8787

8888
} else {
8989
//System.err.println("don't understand: " + s);
90-
exception = new PdeException("Error while compiling, " +
91-
"please send code to bugs@proce55ing.net");
90+
exception = new PdeException(SUPER_BADNESS);
9291
editor.error(exception);
9392
}
9493
}

0 commit comments

Comments
 (0)