Changeset 25635 for main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractTextSearch.java
- Timestamp:
- 2012-05-22T13:01:04+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractTextSearch.java
r24394 r25635 105 105 Element index_sub_list = (Element)GSXML.getChildByTagName(this.config_info, INDEX_SUBCOLLECTION_ELEM+GSXML.LIST_MODIFIER); 106 106 if (index_sub_list == null) return true; // processed, just not a very interesting result 107 ArrayList index_sub_ids = new ArrayList();108 ArrayList index_sub_names = new ArrayList();107 ArrayList<String> index_sub_ids = new ArrayList<String>(); 108 ArrayList<String> index_sub_names = new ArrayList<String>(); 109 109 getIndexSubcollectionData(index_sub_ids, index_sub_names, lang); 110 110 String param_type = GSXML.PARAM_TYPE_ENUM_SINGLE; … … 122 122 Element index_lang_list = (Element)GSXML.getChildByTagName(this.config_info, INDEX_LANGUAGE_ELEM+GSXML.LIST_MODIFIER); 123 123 if (index_lang_list == null) return true; // processed, just not a very interesting result 124 ArrayList index_lang_ids = new ArrayList();125 ArrayList index_lang_names = new ArrayList();124 ArrayList<String> index_lang_ids = new ArrayList<String>(); 125 ArrayList<String> index_lang_names = new ArrayList<String>(); 126 126 getIndexLanguageData(index_lang_ids, index_lang_names, lang); 127 127 String param_type = GSXML.PARAM_TYPE_ENUM_SINGLE; … … 150 150 * might be implemented by subclass 151 151 */ 152 protected void getIndexSubcollectionData(ArrayList index_ids, ArrayListindex_names, String lang){}152 protected void getIndexSubcollectionData(ArrayList<String> index_ids, ArrayList<String> index_names, String lang){} 153 153 154 154 /** get the details about the indexes available 155 155 * might be implemented by subclass 156 156 */ 157 protected void getIndexLanguageData(ArrayList index_ids, ArrayListindex_names, String lang){}157 protected void getIndexLanguageData(ArrayList<String> index_ids, ArrayList<String> index_names, String lang){} 158 158 159 159
Note:
See TracChangeset
for help on using the changeset viewer.