src/share/classes/com/sun/imageio/plugins/jpeg/JPEGMetadataFormat.java

Print this page
rev 9343 : 8033716: Fix raw and unchecked lint warnings in com.sun.imageio
Reviewed-by: darcy, prr, bae

*** 54,64 **** addAttribute("dqtable", "elementPrecision", DATATYPE_INTEGER, false, "0"); ! List tabids = new ArrayList(); tabids.add("0"); tabids.add("1"); tabids.add("2"); tabids.add("3"); addAttribute("dqtable", --- 54,64 ---- addAttribute("dqtable", "elementPrecision", DATATYPE_INTEGER, false, "0"); ! List<String> tabids = new ArrayList<>(); tabids.add("0"); tabids.add("1"); tabids.add("2"); tabids.add("3"); addAttribute("dqtable",
*** 72,82 **** true, null); addElement("dht", parentName, 1, 4); addElement("dhtable", "dht", CHILD_POLICY_EMPTY); ! List classes = new ArrayList(); classes.add("0"); classes.add("1"); addAttribute("dhtable", "class", DATATYPE_INTEGER, --- 72,82 ---- true, null); addElement("dht", parentName, 1, 4); addElement("dhtable", "dht", CHILD_POLICY_EMPTY); ! List<String> classes = new ArrayList<>(); classes.add("0"); classes.add("1"); addAttribute("dhtable", "class", DATATYPE_INTEGER,