Revision: 18857
          http://sourceforge.net/p/gate/code/18857
Author:   markagreenwood
Date:     2015-08-05 17:20:41 +0000 (Wed, 05 Aug 2015)
Log Message:
-----------
added a check so that annotationType could be the empty string and it wouldn't 
mess up

Modified Paths:
--------------
    gate/trunk/plugins/Format_CSV/gcp/csv4gcp.jar
    
gate/trunk/plugins/Format_CSV/gcp/src/gate/cloud/io/csv/CSVStreamingOutputHandler.java

Modified: gate/trunk/plugins/Format_CSV/gcp/csv4gcp.jar
===================================================================
(Binary files differ)

Modified: 
gate/trunk/plugins/Format_CSV/gcp/src/gate/cloud/io/csv/CSVStreamingOutputHandler.java
===================================================================
--- 
gate/trunk/plugins/Format_CSV/gcp/src/gate/cloud/io/csv/CSVStreamingOutputHandler.java
      2015-08-05 17:17:04 UTC (rev 18856)
+++ 
gate/trunk/plugins/Format_CSV/gcp/src/gate/cloud/io/csv/CSVStreamingOutputHandler.java
      2015-08-05 17:20:41 UTC (rev 18857)
@@ -60,6 +60,9 @@
     
     annotationSetName = configData.get(PARAM_ANNOTATION_SET_NAME);
     annotationType = configData.get(PARAM_ANNOTATION_TYPE);
+    
+    if (annotationType != null && annotationType.trim().equals(""))
+      annotationType = null;
   }
   
   @Override

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to