Make List type safe. Remove/suppress all warnings.
[marc4j.git] / src / org / marc4j / converter / impl / CodeTable.java
index 95c31fe..0973c8c 100644 (file)
@@ -23,11 +23,8 @@ package org.marc4j.converter.impl;
 import java.io.File;\r
 import java.io.FileInputStream;\r
 import java.io.InputStream;\r
-import java.io.PrintStream;\r
 import java.net.URI;\r
-import java.util.Arrays;\r
 import java.util.HashMap;\r
-import java.util.Iterator;\r
 import java.util.Vector;\r
 \r
 import javax.xml.parsers.SAXParser;\r
@@ -48,10 +45,13 @@ import org.xml.sax.XMLReader;
  *  \r
  */\r
 public class CodeTable implements CodeTableInterface {\r
+    @SuppressWarnings("rawtypes")\r
     protected static HashMap charsets = null;\r
 \r
+    @SuppressWarnings("rawtypes")\r
     protected static HashMap combining = null;\r
 \r
+    @SuppressWarnings("rawtypes")\r
     public boolean isCombining(int i, int g0, int g1) {\r
         if (i <= 0x7E) {\r
             Vector v = (Vector) combining.get(new Integer(g0));\r
@@ -62,6 +62,7 @@ public class CodeTable implements CodeTableInterface {
         }\r
     }\r
 \r
+    @SuppressWarnings("rawtypes")\r
     public char getChar(int c, int mode) {\r
         if (c == 0x20)\r
             return (char) c;\r