8156580: Make TIFFTagSet subclasses final
authorbpb
Wed, 25 May 2016 15:51:09 -0700
changeset 39000 810f4edc8b50
parent 38999 035e9ed4af2c
child 39001 d446b5342c35
8156580: Make TIFFTagSet subclasses final Summary: Change the class declarations to make TIFFTagSet subclasses final. Reviewed-by: prr
jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/BaselineTIFFTagSet.java
jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifGPSTagSet.java
jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifInteroperabilityTagSet.java
jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifParentTIFFTagSet.java
jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifTIFFTagSet.java
jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/FaxTIFFTagSet.java
jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/GeoTIFFTagSet.java
jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/TIFFTagSet.java
--- a/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/BaselineTIFFTagSet.java	Wed May 25 15:48:57 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/BaselineTIFFTagSet.java	Wed May 25 15:51:09 2016 -0700
@@ -58,7 +58,7 @@
  * @since 9
  * @see   <a href="http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf">  TIFF 6.0 Specification</a>
  */
-public class BaselineTIFFTagSet extends TIFFTagSet {
+public final class BaselineTIFFTagSet extends TIFFTagSet {
 
     private static BaselineTIFFTagSet theInstance = null;
 
--- a/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifGPSTagSet.java	Wed May 25 15:48:57 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifGPSTagSet.java	Wed May 25 15:51:09 2016 -0700
@@ -38,7 +38,7 @@
  * @since 9
  * @see   ExifTIFFTagSet
  */
-public class ExifGPSTagSet extends TIFFTagSet {
+public final class ExifGPSTagSet extends TIFFTagSet {
     private static ExifGPSTagSet theInstance = null;
 
     /**
--- a/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifInteroperabilityTagSet.java	Wed May 25 15:48:57 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifInteroperabilityTagSet.java	Wed May 25 15:51:09 2016 -0700
@@ -34,7 +34,7 @@
  * @since 9
  * @see   ExifTIFFTagSet
  */
-public class ExifInteroperabilityTagSet extends TIFFTagSet {
+public final class ExifInteroperabilityTagSet extends TIFFTagSet {
     /**
      * A tag indicating the identification of the Interoperability rule
      * (type ASCII).
--- a/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifParentTIFFTagSet.java	Wed May 25 15:48:57 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifParentTIFFTagSet.java	Wed May 25 15:51:09 2016 -0700
@@ -36,7 +36,7 @@
  *
  * @since 9
  */
-public class ExifParentTIFFTagSet extends TIFFTagSet {
+public final class ExifParentTIFFTagSet extends TIFFTagSet {
 
     private static ExifParentTIFFTagSet theInstance = null;
 
--- a/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifTIFFTagSet.java	Wed May 25 15:48:57 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/ExifTIFFTagSet.java	Wed May 25 15:51:09 2016 -0700
@@ -41,7 +41,7 @@
  *
  * @since 9
  */
-public class ExifTIFFTagSet extends TIFFTagSet {
+public final class ExifTIFFTagSet extends TIFFTagSet {
 
     private static ExifTIFFTagSet theInstance = null;
 
--- a/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/FaxTIFFTagSet.java	Wed May 25 15:48:57 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/FaxTIFFTagSet.java	Wed May 25 15:51:09 2016 -0700
@@ -33,7 +33,7 @@
  *
  * @since 9
  */
-public class FaxTIFFTagSet extends TIFFTagSet {
+public final class FaxTIFFTagSet extends TIFFTagSet {
 
     private static FaxTIFFTagSet theInstance = null;
 
--- a/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/GeoTIFFTagSet.java	Wed May 25 15:48:57 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/GeoTIFFTagSet.java	Wed May 25 15:51:09 2016 -0700
@@ -41,7 +41,7 @@
  *
  * @since 9
  */
-public class GeoTIFFTagSet extends TIFFTagSet {
+public final class GeoTIFFTagSet extends TIFFTagSet {
 
     private static GeoTIFFTagSet theInstance = null;
 
--- a/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/TIFFTagSet.java	Wed May 25 15:48:57 2016 -0700
+++ b/jdk/src/java.desktop/share/classes/javax/imageio/plugins/tiff/TIFFTagSet.java	Wed May 25 15:51:09 2016 -0700
@@ -34,14 +34,13 @@
 import java.util.TreeSet;
 
 /**
- * A class representing a set of TIFF tags.  Each tag in the set must
- * have a unique number (this is a limitation of the TIFF
- * specification itself).
+ * A class representing a set of TIFF tags.  Each tag in the set must have
+ * a unique number (this is a limitation of the TIFF specification itself).
  *
  * <p> This class and its subclasses are responsible for mapping
  * between raw tag numbers and {@code TIFFTag} objects, which
  * contain additional information about each tag, such as the tag's
- * name, legal data types, and mnemonic names for some or all of ts
+ * name, legal data types, and mnemonic names for some or all of its
  * data values.
  *
  * @since 9