mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8292350: Use static methods for hashCode/toString primitives
Reviewed-by: prr, rriggs, amenkov, jpai
This commit is contained in:
parent
44532009ff
commit
37c0a13647
4 changed files with 8 additions and 8 deletions
|
@ -569,7 +569,7 @@ public class WebRowSetXmlWriter implements XmlWriter, Serializable {
|
|||
}
|
||||
|
||||
private void writeBoolean(boolean b) throws java.io.IOException {
|
||||
writer.write(Boolean.valueOf(b).toString());
|
||||
writer.write(Boolean.toString(b));
|
||||
}
|
||||
|
||||
private void writeFloat(float f) throws java.io.IOException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue