diff --git a/node/src/test/kotlin/net/corda/node/visualiser/StateViewer.java b/node/src/test/kotlin/net/corda/node/visualiser/StateViewer.java index 1284a9ebe8..c04745cd85 100644 --- a/node/src/test/kotlin/net/corda/node/visualiser/StateViewer.java +++ b/node/src/test/kotlin/net/corda/node/visualiser/StateViewer.java @@ -14,9 +14,9 @@ public class StateViewer { public static void main(String[] args) { JFrame frame = new JFrame("StateViewer"); - List> props = new ArrayList<>(); - props.add(new Pair<>("a", 123)); - props.add(new Pair<>("things", "bar")); + List> props = new ArrayList>(); + props.add(new Pair("a", 123)); + props.add(new Pair("things", "bar")); frame.setContentPane(new StateViewer(props).root); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.pack(); @@ -37,7 +37,7 @@ public class StateViewer { frame.setVisible(true); } - private StateViewer(List> props) { + private StateViewer(final List> props) { propsTable.setModel(new AbstractTableModel() { @Override public int getRowCount() {