Revision: 17547
http://sourceforge.net/p/gate/code/17547
Author: markagreenwood
Date: 2014-03-05 21:08:10 +0000 (Wed, 05 Mar 2014)
Log Message:
-----------
okay so I lied, here are some more generics updates
Modified Paths:
--------------
gate/trunk/src/main/gate/Gate.java
Modified: gate/trunk/src/main/gate/Gate.java
===================================================================
--- gate/trunk/src/main/gate/Gate.java 2014-03-05 20:54:08 UTC (rev 17546)
+++ gate/trunk/src/main/gate/Gate.java 2014-03-05 21:08:10 UTC (rev 17547)
@@ -1392,6 +1392,7 @@
while(!jobsList.isEmpty()) {
Element currentElem = jobsList.remove(0);
if(currentElem.getName().equalsIgnoreCase("JAR")) {
+ @SuppressWarnings("unchecked")
List<Attribute> attrs = currentElem.getAttributes();
Iterator<Attribute> attrsIt = attrs.iterator();
while(attrsIt.hasNext()) {
@@ -1418,6 +1419,7 @@
else {
// this is some higher level element -> simulate recursion
// we want Depth-first-search so we need to add at the beginning
+ @SuppressWarnings("unchecked")
List<Element> newJobsList = new
ArrayList<Element>(currentElem.getChildren());
newJobsList.addAll(jobsList);
jobsList = newJobsList;
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