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