From 599054fc92976eacf580e0773a227551479b66e4 Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Fri, 1 Aug 2014 13:10:04 -0300 Subject: [PATCH] Fix build errors --- pdex/src/processing/mode/experimental/VariableInspector.java | 4 ++-- pdex/src/processing/mode/experimental/VariableNode.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pdex/src/processing/mode/experimental/VariableInspector.java b/pdex/src/processing/mode/experimental/VariableInspector.java index f17ef30d3..80e74f5c9 100755 --- a/pdex/src/processing/mode/experimental/VariableInspector.java +++ b/pdex/src/processing/mode/experimental/VariableInspector.java @@ -74,7 +74,7 @@ public class VariableInspector extends javax.swing.JFrame { protected List declaredThisFields; // declared i.e. non-inherited fields of this protected DebugEditor editor; // the editor protected Debugger dbg; // the debugger - protected List expandedNodes = new ArrayList<>(); // list of expanded tree paths. (using list to maintain the order of expansion) + protected List expandedNodes = new ArrayList(); // list of expanded tree paths. (using list to maintain the order of expansion) protected boolean p5mode = true; // processing / "advanced" mode flag (currently not used /** @@ -515,7 +515,7 @@ public class VariableInspector extends javax.swing.JFrame { // first remove all children of collapsed path // this makes sure children do not appear before parents in the list. // (children can't be expanded before their parents) - List removalList = new ArrayList<>(); + List removalList = new ArrayList(); for (TreePath path : expandedNodes) { if (path.getParentPath().equals(tee.getPath())) { removalList.add(path); diff --git a/pdex/src/processing/mode/experimental/VariableNode.java b/pdex/src/processing/mode/experimental/VariableNode.java index 42944cdc3..958923c66 100755 --- a/pdex/src/processing/mode/experimental/VariableNode.java +++ b/pdex/src/processing/mode/experimental/VariableNode.java @@ -53,7 +53,7 @@ public class VariableNode implements MutableTreeNode { protected String type; protected String name; protected Value value; - protected List children = new ArrayList<>(); + protected List children = new ArrayList(); protected MutableTreeNode parent; /**