Changeset 25855

Show
Ignore:
Timestamp:
28.06.2012 11:29:48 (7 years ago)
Author:
sjm84
Message:

Some minor fixes

Files:
1 modified

Legend:

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

    r25854 r25855  
    2121// Greenstone classes 
    2222import java.io.File; 
    23 import java.io.Serializable; 
    2423import java.util.HashMap; 
    2524import java.util.Iterator; 
     
    5554 
    5655    /** do any initialisation of the query object */ 
    57     protected boolean setUpQueryer(HashMap<String, Serializable> params) 
     56    protected boolean setUpQueryer(HashMap params) 
    5857    { 
    5958        String indexdir = GSFile.collectionBaseDir(this.site_home, this.cluster_name) + File.separatorChar + "index" + File.separatorChar; 
     
    173172    { 
    174173        return ((LuceneQueryResult) query_result).getTotalDocs(); 
    175  
    176174    } 
    177175 
     
    202200 
    203201    /** add in term info if available */ 
    204     protected boolean addTermInfo(Element term_list, HashMap<String, Serializable> params, Object query_result) 
     202    protected boolean addTermInfo(Element term_list, HashMap params, Object query_result) 
    205203    { 
    206204        String query_level = (String) params.get(LEVEL_PARAM); // the current query level