File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
java/src/processing/mode/java Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -1296,9 +1296,9 @@ public void statusError(String what) {
12961296
12971297 public void internalCloseRunner () {
12981298 // Added temporarily to dump error log. TODO: Remove this later [mk29]
1299- if (JavaMode .errorLogsEnabled ) {
1300- writeErrorsToFile ();
1301- }
1299+ // if (JavaMode.errorLogsEnabled) {
1300+ // writeErrorsToFile();
1301+ // }
13021302 handleStop ();
13031303 }
13041304
@@ -1328,10 +1328,12 @@ public void dispose() {
13281328 }
13291329
13301330
1331+ // Not sure how this was supposed to work, tempErrorLog is always empty [jv]
13311332 /**
13321333 * Writes all error messages to a csv file.
13331334 * For analytics purposes only.
13341335 */
1336+ /*
13351337 private void writeErrorsToFile() {
13361338 if (errorCheckerService.tempErrorLog.size() == 0) return;
13371339
@@ -1369,7 +1371,7 @@ private void writeErrorsToFile() {
13691371 System.err.println("Failed to save log file for sketch " + getSketch().getName());
13701372 e.printStackTrace();
13711373 }
1372- }
1374+ }*/
13731375
13741376
13751377 /*
Original file line number Diff line number Diff line change 3030import java .util .HashMap ;
3131import java .util .List ;
3232import java .util .Map ;
33- import java .util .TreeMap ;
3433import java .util .concurrent .ArrayBlockingQueue ;
3534import java .util .concurrent .BlockingQueue ;
3635import java .util .concurrent .Executors ;
@@ -514,8 +513,6 @@ public boolean hasErrors(){
514513 return lastCodeCheckResult .containsErrors ;
515514 }
516515
517- public TreeMap <String , IProblem > tempErrorLog = new TreeMap <>();
518-
519516 protected URLClassLoader classLoader ;
520517
521518
You can’t perform that action at this time.
0 commit comments