Revision: 17867
http://sourceforge.net/p/gate/code/17867
Author: markagreenwood
Date: 2014-04-18 09:34:26 +0000 (Fri, 18 Apr 2014)
Log Message:
-----------
see if this fixes thew compiler warning
Modified Paths:
--------------
gate/trunk/src/main/gate/creole/annic/lucene/LuceneDocument.java
Modified: gate/trunk/src/main/gate/creole/annic/lucene/LuceneDocument.java
===================================================================
--- gate/trunk/src/main/gate/creole/annic/lucene/LuceneDocument.java
2014-04-18 09:16:19 UTC (rev 17866)
+++ gate/trunk/src/main/gate/creole/annic/lucene/LuceneDocument.java
2014-04-18 09:34:26 UTC (rev 17867)
@@ -8,6 +8,7 @@
package gate.creole.annic.lucene;
import java.io.*;
+import java.lang.reflect.Array;
import gate.annotation.AnnotationSetImpl;
import gate.creole.annic.Constants;
@@ -653,7 +654,7 @@
}
- @SuppressWarnings({"cast","unchecked"})
+ @SuppressWarnings({"cast","unchecked","rawtypes"})
List<Token> toReturn[] = (List<Token>[])new List[unitOffsetsSet.size()];
Iterator<OffsetGroup> iter = unitOffsetsSet.iterator();
int counter = 0;
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