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

    r25128 r25635  
    1313import java.util.Vector;
    1414import java.io.File;
     15import java.io.Serializable;
    1516
    1617import org.apache.log4j.*;
     
    4748        // extract the params from the cgi-request, and check that we have a coll specified
    4849        Element cgi_paramList = (Element) GSXML.getChildByTagName(request, GSXML.PARAM_ELEM + GSXML.LIST_MODIFIER);
    49         HashMap params = GSXML.extractParams(cgi_paramList, false);
     50        HashMap<String, Serializable> params = GSXML.extractParams(cgi_paramList, false);
    5051
    5152        String service_name = (String) params.get(GSParams.SERVICE);
     
    107108        // the id of the classifier is the top id of the selected node
    108109        String top_id = OID.getTop(classifier_node);
    109         HashSet doc_meta_names = new HashSet();
    110         HashSet class_meta_names = new HashSet();
     110        HashSet<String> doc_meta_names = new HashSet<String>();
     111        HashSet<String> class_meta_names = new HashSet<String>();
    111112        // add in the defaults
    112113        doc_meta_names.add("Title");
     
    358359    }
    359360
    360     protected void extractMetadataNames(Element new_format, HashSet doc_meta_names, HashSet class_meta_names)
     361    protected void extractMetadataNames(Element new_format, HashSet<String> doc_meta_names, HashSet<String> class_meta_names)
    361362    {
    362363
Note: See TracChangeset for help on using the changeset viewer.