Changeset 25635 for main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/GS2BrowseAction.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/action/GS2BrowseAction.java
r25128 r25635 13 13 import java.util.Vector; 14 14 import java.io.File; 15 import java.io.Serializable; 15 16 16 17 import org.apache.log4j.*; … … 47 48 // extract the params from the cgi-request, and check that we have a coll specified 48 49 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); 50 51 51 52 String service_name = (String) params.get(GSParams.SERVICE); … … 107 108 // the id of the classifier is the top id of the selected node 108 109 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>(); 111 112 // add in the defaults 112 113 doc_meta_names.add("Title"); … … 358 359 } 359 360 360 protected void extractMetadataNames(Element new_format, HashSet doc_meta_names, HashSetclass_meta_names)361 protected void extractMetadataNames(Element new_format, HashSet<String> doc_meta_names, HashSet<String> class_meta_names) 361 362 { 362 363
Note:
See TracChangeset
for help on using the changeset viewer.