Skip to content

Commit f122218

Browse files
committed
unnecessary boxing to Long removed
1 parent eed3032 commit f122218

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

visualvm/sampler/src/org/graalvm/visualvm/sampler/memory/ThreadsMemoryView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,10 @@ public Object getValueAt(int rowIndex, int columnIndex) {
503503
if (columnIndex == 0) {
504504
return threads.get(rowIndex).getThreadName();
505505
} else if (columnIndex == 1) {
506-
return allocatedBytes.get(rowIndex).longValue();
506+
return allocatedBytes.get(rowIndex);
507507
} else if (columnIndex == 2) {
508508
return allocatedBytesPerSec.isEmpty() ? 0 :
509-
allocatedBytesPerSec.get(rowIndex).longValue();
509+
allocatedBytesPerSec.get(rowIndex);
510510
}
511511

512512
return null;

0 commit comments

Comments
 (0)