mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 19:31:16 +01:00
Remove unused error logging
This commit is contained in:
@@ -1296,9 +1296,9 @@ public class JavaEditor extends Editor {
|
||||
|
||||
public void internalCloseRunner() {
|
||||
// Added temporarily to dump error log. TODO: Remove this later [mk29]
|
||||
if (JavaMode.errorLogsEnabled) {
|
||||
writeErrorsToFile();
|
||||
}
|
||||
//if (JavaMode.errorLogsEnabled) {
|
||||
// writeErrorsToFile();
|
||||
//}
|
||||
handleStop();
|
||||
}
|
||||
|
||||
@@ -1328,10 +1328,12 @@ public class JavaEditor extends Editor {
|
||||
}
|
||||
|
||||
|
||||
// Not sure how this was supposed to work, tempErrorLog is always empty [jv]
|
||||
/**
|
||||
* Writes all error messages to a csv file.
|
||||
* For analytics purposes only.
|
||||
*/
|
||||
/*
|
||||
private void writeErrorsToFile() {
|
||||
if (errorCheckerService.tempErrorLog.size() == 0) return;
|
||||
|
||||
@@ -1369,7 +1371,7 @@ public class JavaEditor extends Editor {
|
||||
System.err.println("Failed to save log file for sketch " + getSketch().getName());
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -30,7 +30,6 @@ import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
import java.util.concurrent.ArrayBlockingQueue;
|
||||
import java.util.concurrent.BlockingQueue;
|
||||
import java.util.concurrent.Executors;
|
||||
@@ -514,8 +513,6 @@ public class ErrorCheckerService {
|
||||
return lastCodeCheckResult.containsErrors;
|
||||
}
|
||||
|
||||
public TreeMap<String, IProblem> tempErrorLog = new TreeMap<>();
|
||||
|
||||
protected URLClassLoader classLoader;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user