Skip to content

Commit de10c09

Browse files
committed
typo fixed
1 parent feeac59 commit de10c09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

visualvm/heapviewer.truffle/src/org/graalvm/visualvm/heapviewer/truffle/TruffleObjectsProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ protected String getNodesContainerString(String firstNodeIdx, String lastNodeIdx
233233

234234
public HeapViewerNode[] getGCRoots(HeapViewerNode parent, HeapContext context, String viewID, HeapViewerNodeFilter viewFilter, List<DataType> dataTypes, List<SortOrder> sortOrders, Progress progress, int aggregation) throws InterruptedException {
235235
final Heap heap = context.getFragment().getHeap();
236-
final List<GCRoot> gcrootsS = (List<GCRoot>) heap.getGCRoots();
237-
final List<Instance> gcrootInstances = gcrootsS.stream()
236+
final List<GCRoot> gcroots = (List<GCRoot>) heap.getGCRoots();
237+
final List<Instance> gcrootInstances = gcroots.stream()
238238
.map(GCRoot::getInstance)
239239
.distinct()
240240
.collect(Collectors.toList());

0 commit comments

Comments
 (0)