22 lines
1.3 KiB
Diff
22 lines
1.3 KiB
Diff
|
diff --git a/application/org.openjdk.jmc.flightrecorder.graphview/src/main/java/org/openjdk/jmc/flightrecorder/graphview/views/GraphView.java b/application/org.openjdk.jmc.flightrecorder.graphview/src/main/java/org/openjdk/jmc/flightrecorder/graphview/views/GraphView.java
|
||
|
index d356c2e..41dff7a 100644
|
||
|
--- a/application/org.openjdk.jmc.flightrecorder.graphview/src/main/java/org/openjdk/jmc/flightrecorder/graphview/views/GraphView.java
|
||
|
+++ b/application/org.openjdk.jmc.flightrecorder.graphview/src/main/java/org/openjdk/jmc/flightrecorder/graphview/views/GraphView.java
|
||
|
@@ -38,6 +38,7 @@ import java.io.ByteArrayOutputStream;
|
||
|
import java.io.IOException;
|
||
|
import java.io.InputStream;
|
||
|
import java.text.MessageFormat;
|
||
|
+import java.util.Arrays;
|
||
|
import java.util.Base64;
|
||
|
import java.util.List;
|
||
|
import java.util.concurrent.ExecutorService;
|
||
|
@@ -172,7 +173,7 @@ public class GraphView extends ViewPart implements ISelectionListener {
|
||
|
|
||
|
private class NodeThresholdSelection extends Action implements IMenuCreator {
|
||
|
private Menu menu;
|
||
|
- private final List<Pair<String, Integer>> items = List.of(new Pair<>("100", 100), new Pair<>("500", 500),
|
||
|
+ private final List<Pair<String, Integer>> items = Arrays.asList(new Pair<>("100", 100), new Pair<>("500", 500),
|
||
|
new Pair<>("1000", 1000));
|
||
|
|
||
|
NodeThresholdSelection() {
|