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/action/QueryAction.java

    r25128 r25635  
    1616import java.util.Iterator;
    1717import java.io.File;
     18import java.io.Serializable;
    1819
    1920import org.apache.log4j.*;
     
    5657        // extract the params from the cgi-request, and check that we have a coll specified
    5758        Element cgi_param_list = (Element) GSXML.getChildByTagName(request, GSXML.PARAM_ELEM + GSXML.LIST_MODIFIER);
    58         HashMap params = GSXML.extractParams(cgi_param_list, false);
     59        HashMap<String, Serializable> params = GSXML.extractParams(cgi_param_list, false);
    5960
    6061        String request_type = (String) params.get(GSParams.REQUEST_TYPE);
     
    189190
    190191        // get the metadata elements needed from the format statement if any
    191         HashSet metadata_names = new HashSet();
     192        HashSet<String> metadata_names = new HashSet<String>();
    192193        metadata_names.add("Title");
    193194        // add in the format info to the stylesheet if there is any
     
    246247
    247248    /** this filters out some of the doc results for result paging */
    248     protected Element filterDocList(HashMap params, HashMap service_params, Element orig_doc_list)
     249    protected Element filterDocList(HashMap<String, Serializable> params, HashMap service_params, Element orig_doc_list)
    249250    {
    250251
Note: See TracChangeset for help on using the changeset viewer.