8253240: No javadoc for DecimalFormatSymbols.hashCode()

Reviewed-by: rriggs, lancea
This commit is contained in:
Naoto Sato 2020-09-22 22:59:07 +00:00
parent c68a31ddce
commit bddb82255c

View file

@ -760,7 +760,6 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
/**
* Override hashCode.
*/
private volatile int hashCode;
@Override
public int hashCode() {
if (hashCode == 0) {
@ -1148,6 +1147,11 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
private transient Currency currency;
private transient volatile boolean currencyInitialized;
/**
* Cached hash code.
*/
private transient volatile int hashCode;
// Proclaim JDK 1.1 FCS compatibility
@java.io.Serial
static final long serialVersionUID = 5772796243397350300L;