src/share/classes/sun/management/MemoryNotifInfoCompositeData.java
Print this page
rev 10195 : 8048267: Replace uses of 'new Long()' with appropriate alternative across core classes
Reviewed-by: chegar, psandoz
Contributed-by: Otavio Santana <otaviojava@java.net>
@@ -58,11 +58,11 @@
// CONTENTS OF THIS ARRAY MUST BE SYNCHRONIZED WITH
// memoryNotifInfoItemNames!
final Object[] memoryNotifInfoItemValues = {
memoryNotifInfo.getPoolName(),
MemoryUsageCompositeData.toCompositeData(memoryNotifInfo.getUsage()),
- new Long(memoryNotifInfo.getCount()),
+ memoryNotifInfo.getCount(),
};
try {
return new CompositeDataSupport(memoryNotifInfoCompositeType,
memoryNotifInfoItemNames,