Ignore:
Timestamp:
2012-05-22T13:01:04+12:00 (12 years ago)
Author:
sjm84
Message:

Fixing Greenstone 3's use (or lack thereof) of generics, this was done automatically so we may want to change it over time. This change will also auto-format any files that have not already been formatted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/IViaSearch.java

    r24394 r25635  
    1515import java.io.File;
    1616import java.io.BufferedReader;
     17import java.io.Serializable;
    1718import java.net.Authenticator;
    1819
     
    3738
    3839    protected String ivia_server_url = null;
    39     protected ArrayList index_ids = null;
     40    protected ArrayList<String> index_ids = null;
    4041    public IViaSearch()
    4142    {
     
    6263    does_multi_index_search = true;
    6364    this.default_index = ",kw,au,su,ti,de,fu,"; // all of them
    64     index_ids = new ArrayList();
     65    index_ids = new ArrayList<String>();
    6566    index_ids.add("kw");
    6667    index_ids.add("au");   
     
    8889
    8990    // Process the request parameters
    90     HashMap params = GSXML.extractParams(param_list, false);
     91    HashMap<String, Serializable> params = GSXML.extractParams(param_list, false);
    9192
    9293    // Make sure a query has been specified
     
    195196       An IVia server has a fixed list of fields to search (I think) so we can hard code them here rather than reading them in from a config file
    196197    */
    197     protected void getIndexData(ArrayList index_ids, ArrayList index_names,String lang){
     198    protected void getIndexData(ArrayList<String> index_ids, ArrayList<String> index_names,String lang){
    198199    index_ids.addAll(this.index_ids);
    199200    index_names.add(getTextString("param."+INDEX_PARAM+".kw", lang));
Note: See TracChangeset for help on using the changeset viewer.