Revision: 18704
http://sourceforge.net/p/gate/code/18704
Author: markagreenwood
Date: 2015-05-21 17:16:16 +0000 (Thu, 21 May 2015)
Log Message:
-----------
import the classes rather than using the fully specified name in the code
Modified Paths:
--------------
gate/trunk/plugins/Gazetteer_Ontology_Based/src/gate/clone/ql/OntoRootGaz.java
Modified:
gate/trunk/plugins/Gazetteer_Ontology_Based/src/gate/clone/ql/OntoRootGaz.java
===================================================================
---
gate/trunk/plugins/Gazetteer_Ontology_Based/src/gate/clone/ql/OntoRootGaz.java
2015-05-21 17:13:36 UTC (rev 18703)
+++
gate/trunk/plugins/Gazetteer_Ontology_Based/src/gate/clone/ql/OntoRootGaz.java
2015-05-21 17:16:16 UTC (rev 18704)
@@ -49,6 +49,7 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
+import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.logging.Log;
@@ -628,7 +629,7 @@
*/
private List<Lookup> runRootFinderApplication(List<Lookup> lookups)
throws ResourceInstantiationException {
- Pattern p = java.util.regex.Pattern.compile(CATConstants.REGEX_CAMEL_CASE);
+ Pattern p = Pattern.compile(CATConstants.REGEX_CAMEL_CASE);
List<Lookup> lookupsToBeReturned = new ArrayList<Lookup>();
for(Lookup lookup : lookups) {
String list = lookup.list;
@@ -641,7 +642,7 @@
}
// if text is camel cased add space between words
if(separateCamelCasedWords) {
- java.util.regex.Matcher m = p.matcher(list);
+ Matcher m = p.matcher(list);
StringBuffer sb = new StringBuffer();
while (m.find()) {
m.appendReplacement(sb, "$1 $2");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs