mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8253240: No javadoc for DecimalFormatSymbols.hashCode()
Reviewed-by: rriggs, lancea
This commit is contained in:
parent
c68a31ddce
commit
bddb82255c
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue