8292350: Use static methods for hashCode/toString primitives

Reviewed-by: prr, rriggs, amenkov, jpai
This commit is contained in:
Andrey Turbanov 2022-08-20 10:05:48 +00:00
parent 44532009ff
commit 37c0a13647
4 changed files with 8 additions and 8 deletions

View file

@ -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 {