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/LuceneSearch.java

    r24738 r25635  
    2929import org.greenstone.LuceneWrapper3.GS2Analyzer;
    3030import java.io.File;
     31import java.io.Serializable;
    3132
    3233import org.apache.log4j.*;
     
    4344    protected static final String INDEX_ELEM = "index";
    4445
    45     protected ArrayList index_ids;
     46    protected ArrayList<String> index_ids;
    4647
    4748    public LuceneSearch()
    4849    {
    49     index_ids = new ArrayList();
     50    index_ids = new ArrayList<String>();
    5051    }
    5152   
     
    7778    }
    7879   
    79     protected void getIndexData(ArrayList index_ids, ArrayList index_names, String lang)
     80    protected void getIndexData(ArrayList<String> index_ids, ArrayList<String> index_names, String lang)
    8081    {
    8182    // copying exercise for index_ids,
     
    133134
    134135    // Process the request parameters to make sure a query has been specified
    135     HashMap params = GSXML.extractParams(param_list, false);
     136    HashMap<String, Serializable> params = GSXML.extractParams(param_list, false);
    136137    String query_string = (String) params.get(QUERY_PARAM);
    137138
     
    164165    }
    165166
    166     HashMap params = GSXML.extractParams(param_list, false);
     167    HashMap<String, Serializable> params = GSXML.extractParams(param_list, false);
    167168    String query_string = (String) params.get(QUERY_PARAM);
    168169
Note: See TracChangeset for help on using the changeset viewer.