tag tree nodes refactored, faster building of tag tree, some redundant logic (export and view in gui) simplified

This commit is contained in:
2014-11-04 18:39:48 +01:00
parent b4aeb0f80f
commit 7a8d952107
83 changed files with 1699 additions and 2244 deletions
@@ -19,7 +19,7 @@ import java.util.WeakHashMap;
*/
public class Debugger {
private static Set<DebugListener> listeners = new HashSet<>();
private static final Set<DebugListener> listeners = new HashSet<>();
public synchronized void addMessageListener(DebugListener l) {
listeners.add(l);
@@ -95,7 +95,7 @@ public class Debugger {
}
} else {
String name = readString(is);
if (!name.equals("")) {
if (!name.isEmpty()) {
clientName = name;
}
while (true) {
@@ -152,7 +152,7 @@ public class Debugger {
}
private int port;
private final int port;
public Debugger(int port) {
this.port = port;