< prev index next >

src/java.base/share/classes/java/text/CompactNumberFormat.java

Print this page

        

*** 182,191 **** --- 182,192 ---- * @see DecimalFormat * @since 12 */ public final class CompactNumberFormat extends NumberFormat { + @java.io.Serial private static final long serialVersionUID = 7128367218649234678L; /** * The patterns for compact form of numbers for this * {@code CompactNumberFormat}. A possible example is
*** 1782,1791 **** --- 1783,1793 ---- * @param inStream the stream * @throws IOException if an I/O error occurs * @throws ClassNotFoundException if the class of a serialized object * could not be found */ + @java.io.Serial private void readObject(ObjectInputStream inStream) throws IOException, ClassNotFoundException { inStream.defaultReadObject(); if (decimalPattern == null || compactPatterns == null
< prev index next >