Revision: 16799
http://sourceforge.net/p/gate/code/16799
Author: markagreenwood
Date: 2013-08-15 20:10:42 +0000 (Thu, 15 Aug 2013)
Log Message:
-----------
more generics stuff
Modified Paths:
--------------
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteer.java
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteerXMLReader.java
Modified:
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteer.java
===================================================================
---
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteer.java
2013-08-15 20:06:25 UTC (rev 16798)
+++
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteer.java
2013-08-15 20:10:42 UTC (rev 16799)
@@ -60,7 +60,7 @@
/**
* parameter list of types to be imported - used for filtering of Location
f.e.
*/
- protected ArrayList importOnlyTheseTypes = new ArrayList();
+ protected List<String> importOnlyTheseTypes = new ArrayList<String>();
public Boolean caseSensitive;
@@ -697,14 +697,14 @@
return encoding;
}
- public ArrayList getImportOnlyTheseTypes(){
+ public List<String> getImportOnlyTheseTypes(){
return importOnlyTheseTypes;
}
@CreoleParameter(comment = "major types to be imported",
defaultValue = "person_first;person_full;surname",
collectionElementType = String.class)
- public void setImportOnlyTheseTypes(ArrayList types){
+ public void setImportOnlyTheseTypes(List<String> types){
importOnlyTheseTypes = types;
}
Modified:
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteerXMLReader.java
===================================================================
---
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteerXMLReader.java
2013-08-15 20:06:25 UTC (rev 16798)
+++
gate/trunk/plugins/Lang_Russian/src/com/ontotext/russie/gazetteer/InflectionalGazetteerXMLReader.java
2013-08-15 20:10:42 UTC (rev 16799)
@@ -33,10 +33,10 @@
implements RussIEConstants, ContentHandler
{
- public InflectionalGazetteerXMLReader(List importTypes)
+ public InflectionalGazetteerXMLReader(List<String> importTypes)
{
lemmas = new ArrayList<Lemma>();
- listImportTypes = new ArrayList();
+ //listImportTypes = new ArrayList<String>();
tagContent = new StringBuffer();
parserValue = "org.apache.xerces.parsers.SAXParser";
locator = null;
@@ -210,7 +210,7 @@
private List<Lemma> lemmas;
private String wordform;
- protected List listImportTypes;
+ protected List<String> listImportTypes;
private StringBuffer tagContent;
static final String DEFAULT_PARSER = "org.apache.xerces.parsers.SAXParser";
public static final String TAG_RUSNAMES = "rusnames";
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs