Revision: 17549
          http://sourceforge.net/p/gate/code/17549
Author:   markagreenwood
Date:     2014-03-05 21:23:19 +0000 (Wed, 05 Mar 2014)
Log Message:
-----------
must ... stop ... working

Modified Paths:
--------------
    gate/trunk/src/main/gate/corpora/CorpusImpl.java

Modified: gate/trunk/src/main/gate/corpora/CorpusImpl.java
===================================================================
--- gate/trunk/src/main/gate/corpora/CorpusImpl.java    2014-03-05 21:21:05 UTC 
(rev 17548)
+++ gate/trunk/src/main/gate/corpora/CorpusImpl.java    2014-03-05 21:23:19 UTC 
(rev 17549)
@@ -715,6 +715,7 @@
   @Override
   public synchronized void removeCorpusListener(CorpusListener l) {
     if(corpusListeners != null && corpusListeners.contains(l)) {
+      @SuppressWarnings("unchecked")
       Vector<CorpusListener> v = 
(Vector<CorpusListener>)corpusListeners.clone();
       v.removeElement(l);
       corpusListeners = v;
@@ -723,6 +724,7 @@
 
   @Override
   public synchronized void addCorpusListener(CorpusListener l) {
+    @SuppressWarnings("unchecked")
     Vector<CorpusListener> v = corpusListeners == null
             ? new Vector<CorpusListener>(2)
             : (Vector<CorpusListener>)corpusListeners.clone();

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


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to