src/share/classes/com/sun/imageio/plugins/gif/GIFImageMetadata.java

Print this page

        

@@ -230,11 +230,11 @@
                                         toISO8859(applicationID));
                 byte[] authenticationCode = (byte[])authenticationCodes.get(i);
                 appExtNode.setAttribute("authenticationCode",
                                         toISO8859(authenticationCode));
                 byte[] appData = (byte[])applicationData.get(i);
-                appExtNode.setUserObject((byte[])appData.clone());
+                appExtNode.setUserObject(appData.clone());
                 node.appendChild(appExtNode);
             }
 
             root.appendChild(node);
         }