Make List type safe. Remove/suppress all warnings.
[marc4j.git] / src / org / marc4j / marc / impl / Verifier.java
index 199a668..0f1211b 100644 (file)
@@ -62,7 +62,8 @@ public class Verifier {
    * @param col\r
    *          the collection of <code>ControlField</code> objects.\r
    */\r
-  public static boolean hasControlNumberField(Collection col) {\r
+  public static boolean hasControlNumberField(@SuppressWarnings("rawtypes") Collection col) {\r
+    @SuppressWarnings("rawtypes")\r
     Iterator i = col.iterator();\r
     while (i.hasNext()) {\r
       ControlField field = (ControlField) i.next();\r