Revision: 17585
          http://sourceforge.net/p/gate/code/17585
Author:   markagreenwood
Date:     2014-03-07 19:46:09 +0000 (Fri, 07 Mar 2014)
Log Message:
-----------
suppress the unchecked warning as there is nothing we can do about it

Modified Paths:
--------------
    gate/trunk/src/main/gate/creole/CreoleRegisterImpl.java

Modified: gate/trunk/src/main/gate/creole/CreoleRegisterImpl.java
===================================================================
--- gate/trunk/src/main/gate/creole/CreoleRegisterImpl.java     2014-03-07 
19:45:24 UTC (rev 17584)
+++ gate/trunk/src/main/gate/creole/CreoleRegisterImpl.java     2014-03-07 
19:46:09 UTC (rev 17585)
@@ -1057,6 +1057,7 @@
   @Override
   public synchronized void removeCreoleListener(CreoleListener l) {
     if(creoleListeners != null && creoleListeners.contains(l)) {
+      @SuppressWarnings("unchecked")
       Vector<CreoleListener> v = 
(Vector<CreoleListener>)creoleListeners.clone();
       v.removeElement(l);
       creoleListeners = v;
@@ -1065,6 +1066,7 @@
 
   @Override
   public synchronized void addCreoleListener(CreoleListener l) {
+    @SuppressWarnings("unchecked")
     Vector<CreoleListener> v =
       creoleListeners == null ? new Vector<CreoleListener>(2) : 
(Vector<CreoleListener>)creoleListeners.clone();
     if(!v.contains(l)) {

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