Details
-
Bug
-
Resolution: Fixed
-
P4
-
16
Description
Some of these seem superfluous, or possible misguided.
$ grep valueOf src/java.base/share/classes/java/io/ObjectStreamClass.java
suid = Long.valueOf(0);
suid = Long.valueOf(0);
suid = Long.valueOf(0);
long suid = Long.valueOf(model.getSerialVersionUID());
suid = Long.valueOf(in.readLong());
return Long.valueOf(f.getLong(null));
$ grep valueOf src/java.base/share/classes/java/io/ObjectStreamClass.java
suid = Long.valueOf(0);
suid = Long.valueOf(0);
suid = Long.valueOf(0);
long suid = Long.valueOf(model.getSerialVersionUID());
suid = Long.valueOf(in.readLong());
return Long.valueOf(f.getLong(null));
Attachments
Issue Links
- relates to
-
JDK-6311172 use "Long.valueOf(x)" instead of "new Long(x)"
-
- Resolved
-