Revision: 17881
http://sourceforge.net/p/gate/code/17881
Author: markagreenwood
Date: 2014-04-18 17:10:44 +0000 (Fri, 18 Apr 2014)
Log Message:
-----------
should be the last warning sorted
Modified Paths:
--------------
gate/trunk/src/main/gate/gui/STreeNode.java
Modified: gate/trunk/src/main/gate/gui/STreeNode.java
===================================================================
--- gate/trunk/src/main/gate/gui/STreeNode.java 2014-04-18 17:03:57 UTC (rev
17880)
+++ gate/trunk/src/main/gate/gui/STreeNode.java 2014-04-18 17:10:44 UTC (rev
17881)
@@ -231,8 +231,12 @@
for (int i=0; i < newAnnots.size(); i++) {
Annotation newAnnot = newAnnots.get(i);
+ FeatureMap features = newAnnot.getFeatures();
+
+ Object value =
features.get(SyntaxTreeViewer.NODE_CONSISTS_FEATURE_NAME);
+
@SuppressWarnings("unchecked")
- List<Integer> children =
(List<Integer>)(newAnnot.getFeatures().get(SyntaxTreeViewer.NODE_CONSISTS_FEATURE_NAME));
+ List<Integer> children = (List<Integer>)value;
if (children == null || children.size()== 0) {
continue;
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