Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
formats.jpeg.iptc.IPTCConstants contains the following public static final arrays:
IPTC_PREFIX
IPTC_TYPES
Array element are not immutable, even if the array itself is, so the entries could potentially be corrupted accidentally or deliberately.
IPTC_PREFIX does not appear to be used, so could perhaps be deleted. If not, it could be made private and a getter added.
IPTC_TYPES only appears to be used in IPTCTypeLookup, so could potentially be moved there and made private.