Revision: 17879
          http://sourceforge.net/p/gate/code/17879
Author:   markagreenwood
Date:     2014-04-18 16:59:35 +0000 (Fri, 18 Apr 2014)
Log Message:
-----------
and suppressed a whole bunch more as they would be difficult to fix

Modified Paths:
--------------
    gate/trunk/src/main/gate/gui/CollectionSelectionDialog.java
    gate/trunk/src/main/gate/gui/CorpusQualityAssurance.java

Modified: gate/trunk/src/main/gate/gui/CollectionSelectionDialog.java
===================================================================
--- gate/trunk/src/main/gate/gui/CollectionSelectionDialog.java 2014-04-18 
16:47:12 UTC (rev 17878)
+++ gate/trunk/src/main/gate/gui/CollectionSelectionDialog.java 2014-04-18 
16:59:35 UTC (rev 17879)
@@ -43,7 +43,7 @@
 /** This class visually selects some items from a collection and returns
   * a collection with the items selected by the user.
   */
-@SuppressWarnings("serial")
+@SuppressWarnings({"serial","unchecked","rawtypes","deprecation"})
 public class CollectionSelectionDialog extends JDialog {
 
   // Local data
@@ -96,7 +96,6 @@
   /** Init local data from a source collection
     * @param aSourceData is the collection from what the user will choose
     */
-  @SuppressWarnings({"rawtypes", "unchecked"})
   protected void initLocalData(Collection aSourceData){
     targetListModel = new DefaultListModel();
     sourceListModel = new DefaultListModel();
@@ -251,7 +250,6 @@
     }// end for
   }// doAdd();
   /** Returns the target collection*/
-  @SuppressWarnings({"rawtypes", "unchecked"})
   public Collection getSelectedCollection(){
     List resultsList = new ArrayList();
     for (int i=0; i<targetListModel.getSize(); i++){
@@ -261,7 +259,6 @@
   }// getSelectedCollection()
 
   /** This method displays the CollectionSelectionDialog*/
-  @SuppressWarnings("rawtypes")
   public int show(String aTitle,Collection aSourceData){
     if (aTitle == null){
       JOptionPane.showMessageDialog(mainFrame,

Modified: gate/trunk/src/main/gate/gui/CorpusQualityAssurance.java
===================================================================
--- gate/trunk/src/main/gate/gui/CorpusQualityAssurance.java    2014-04-18 
16:47:12 UTC (rev 17878)
+++ gate/trunk/src/main/gate/gui/CorpusQualityAssurance.java    2014-04-18 
16:59:35 UTC (rev 17879)
@@ -76,7 +76,7 @@
  * globally for each annotation and for each document inside a corpus
  * with different measures notably precision, recall and F1-score.
  */
-@SuppressWarnings("serial")
+@SuppressWarnings({"serial","unchecked","rawtypes","deprecation"})
 @CreoleResource(name = "Corpus Quality Assurance", guiType = GuiType.LARGE,
     resourceDisplayed = "gate.Corpus", mainViewer = false,
     helpURL = "http://gate.ac.uk/userguide/sec:eval:corpusqualityassurance";)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to