Revision: 17590
          http://sourceforge.net/p/gate/code/17590
Author:   markagreenwood
Date:     2014-03-08 08:17:28 +0000 (Sat, 08 Mar 2014)
Log Message:
-----------
fixed the findbugs warning by fixing the code so that it made logical sense; 
would never have caught this without generics

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

Modified: gate/trunk/src/main/gate/creole/BootStrap.java
===================================================================
--- gate/trunk/src/main/gate/creole/BootStrap.java      2014-03-08 08:13:46 UTC 
(rev 17589)
+++ gate/trunk/src/main/gate/creole/BootStrap.java      2014-03-08 08:17:28 UTC 
(rev 17590)
@@ -169,10 +169,8 @@
         }// else
 
         // add the package to the list
-        if (!allPackages.contains(currentClass.getPackage())){
-          allPackages.add(currentClass.getPackage().getName()+".*");
-        }
-
+        allPackages.add(currentClass.getPackage().getName()+".*");
+        
         interfacesAndClass = interfacesAndClass + nameClass + ", ";
 
         methodsInterfaces = featuresClass(currentClass,methodsInterfaces);

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