Revision: 14808
http://gate.svn.sourceforge.net/gate/?rev=14808&view=rev
Author: adamfunk
Date: 2011-12-19 13:42:09 +0000 (Mon, 19 Dec 2011)
Log Message:
-----------
minor changes
Modified Paths:
--------------
gate/trunk/src/gate/creole/gazetteer/FlexibleGazetteer.java
Modified: gate/trunk/src/gate/creole/gazetteer/FlexibleGazetteer.java
===================================================================
--- gate/trunk/src/gate/creole/gazetteer/FlexibleGazetteer.java 2011-12-19
10:17:42 UTC (rev 14807)
+++ gate/trunk/src/gate/creole/gazetteer/FlexibleGazetteer.java 2011-12-19
13:42:09 UTC (rev 14808)
@@ -96,7 +96,7 @@
}
fireStatusChanged("Creating temporary Document...");
- StringBuffer newdocString = new
StringBuffer(document.getContent().toString());
+ StringBuilder newdocString = new
StringBuilder(document.getContent().toString());
Document tempDoc = null;
if(inputFeatureNames == null || inputFeatureNames.size() == 0) {
@@ -133,7 +133,7 @@
// if the current annotation has a feature value that user
// wants to paste on and replace the original string
inner: for(String inputFeatureName : inputFeatureNames) {
- String[] keyVal = inputFeatureName .split("[.]");
+ String[] keyVal = inputFeatureName .split("\\.");
if(keyVal.length == 2) {
// keyVal[0] = annotation type
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs