Skip to content

Commit b97b035

Browse files
committed
redundant cast removed
1 parent 6c68ace commit b97b035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visualvm/heapviewer.truffle/src/org/graalvm/visualvm/heapviewer/truffle/lang/python/PythonObjectProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ protected HeapViewerNode createObjectReferenceNode(PythonObject object, String t
196196

197197
@Override
198198
protected HeapViewerNode createForeignReferenceNode(Instance instance, FieldValue field, Heap heap) {
199-
List<Value> references = (List<Value>)instance.getReferences();
199+
List<Value> references = instance.getReferences();
200200
for (Value reference : references) {
201201
instance = reference.getDefiningInstance();
202202
if (getLanguage().isLanguageObject(instance)) {

0 commit comments

Comments
 (0)