example database update removes problematic quotes
[feisty_meow.git] / kona / src / org / feistymeow / dragdrop / dragdrop_list_test.java
index 2775560e6d6045b531c60e07b579755b80facc82..2b8dd8ae89d4ed793d8721942ce8a33a1998fe04 100644 (file)
@@ -21,21 +21,21 @@ import org.apache.log4j.PropertyConfigurator;
  * @license This file is free software; you can modify and redistribute it under the terms of the
  *          Apache License v2.0: http://www.apache.org/licenses/LICENSE-2.0
  */
-@SuppressWarnings({"serial", "rawtypes"})
+@SuppressWarnings("serial")
 public class dragdrop_list_test extends JFrame implements ListSelectionListener
 {
     private DraggableDroppableList list;
     private JTextField fileName;
     static private Log logger = LogFactory.getLog(dragdrop_list_test.DraggableDroppableList.class);
 
-    @SuppressWarnings("unchecked")
+    @SuppressWarnings({ "rawtypes", "unchecked" })
        public dragdrop_list_test(String startPath)
     {
         super("dragdrop_test");
 
         // Create the list and put it in a scroll pane
         list = new DraggableDroppableList();
-        DefaultListModel listModel = (DefaultListModel) list.getModel();
+               DefaultListModel listModel = (DefaultListModel) list.getModel();
         list.setCellRenderer(new CustomCellRenderer());
         list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
         list.setSelectedIndex(0);
@@ -96,9 +96,10 @@ public class dragdrop_list_test extends JFrame implements ListSelectionListener
         return hashtable;
     }
 
-    public class DraggableDroppableList extends JList implements IDragonDropDataProvider
+    @SuppressWarnings("rawtypes")
+       public class DraggableDroppableList extends JList implements IDragonDropDataProvider
     {
-        @SuppressWarnings("unchecked")
+               @SuppressWarnings("unchecked")
                public DraggableDroppableList()
         {
             setModel(new DefaultListModel());
@@ -132,7 +133,8 @@ public class dragdrop_list_test extends JFrame implements ListSelectionListener
         }
     }
 
-    public class CustomCellRenderer implements ListCellRenderer
+    @SuppressWarnings("rawtypes")
+       public class CustomCellRenderer implements ListCellRenderer
     {
         DefaultListCellRenderer listCellRenderer = new DefaultListCellRenderer();