-
Enhancement
-
Resolution: Fixed
-
P4
-
1.4.0
-
None
-
beta
-
generic
-
solaris_7
The specification of the javax.imageio.plugins.jpeg.JPEGHuffmanTable
class, which was copied from the existing unsupported
com.sun.image.codec.jpeg.JPEGHuffmanTable class, uses the term
"symbols" throughout when referring to the array of encoded values
that it maintains. This nomenclature is misleading and even wrong, as
the array contains the values that are to be Huffman encoded, not the
Huffman symbols themselves. This misleading nomenclature extends to
the name of a method: "getSymbols".
The following actions should be taken:
Change 'symbols' instance variable to 'values'.
Change 'getSymbols' method to 'getValues'.
Change 'HUFF_MAX_SYM' constant to 'HUFF_MAX_VALS'.
Change 'symbols' argument of constructor to 'values'
Modify documentation accordingly.
class, which was copied from the existing unsupported
com.sun.image.codec.jpeg.JPEGHuffmanTable class, uses the term
"symbols" throughout when referring to the array of encoded values
that it maintains. This nomenclature is misleading and even wrong, as
the array contains the values that are to be Huffman encoded, not the
Huffman symbols themselves. This misleading nomenclature extends to
the name of a method: "getSymbols".
The following actions should be taken:
Change 'symbols' instance variable to 'values'.
Change 'getSymbols' method to 'getValues'.
Change 'HUFF_MAX_SYM' constant to 'HUFF_MAX_VALS'.
Change 'symbols' argument of constructor to 'values'
Modify documentation accordingly.