< prev index next >

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

Print this page

        

@@ -131,10 +131,11 @@
  * @author       Mark Davis
  * @since 1.1
  */
 public abstract class Format implements Serializable, Cloneable {
 
+    @java.io.Serial
     private static final long serialVersionUID = -299282585814624189L;
 
     /**
      * Sole constructor.  (For invocation by subclass constructors, typically
      * implicit.)

@@ -347,10 +348,11 @@
      * @since 1.4
      */
     public static class Field extends AttributedCharacterIterator.Attribute {
 
         // Proclaim serial compatibility with 1.4 FCS
+        @java.io.Serial
         private static final long serialVersionUID = 276966692217360283L;
 
         /**
          * Creates a Field with the specified name.
          *
< prev index next >