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

    r24993 r25635  
    3636
    3737import java.io.File;
     38import java.io.Serializable;
    3839import java.util.ArrayList;
    3940import java.util.HashMap;
     
    118119            return result;
    119120        }
    120         HashMap params = GSXML.extractParams(param_list, false);
     121        HashMap<String, Serializable> params = GSXML.extractParams(param_list, false);
    121122
    122123        String oid = (String) params.get(GSXML.NODE_ID_ATT);
     
    148149            return result;
    149150        }
    150         HashMap params = GSXML.extractParams(param_list, false);
     151        HashMap<String, Serializable> params = GSXML.extractParams(param_list, false);
    151152
    152153        String srcFile = (String) params.get("sourcefile"); //TODO: Replace with a constant
     
    182183            return result;
    183184        }
    184         HashMap params = GSXML.extractParams(param_list, false);
     185        HashMap<String, Serializable> params = GSXML.extractParams(param_list, false);
    185186
    186187        String oid = (String) params.get(GSXML.NODE_ID_ATT);
     
    317318            return result;
    318319        }
    319         HashMap params = GSXML.extractParams(param_list, false);
     320        HashMap<String, Serializable> params = GSXML.extractParams(param_list, false);
    320321
    321322        String oid = (String) params.get(GSXML.NODE_ID_ATT);
     
    333334        for (int i = 1; i < assocFiles.size(); i++)
    334335        {
    335             metadataList.appendChild(GSXML.createMetadataElement(this.doc, "assocfile", (String) assocFiles.get(i)));
     336            metadataList.appendChild(GSXML.createMetadataElement(this.doc, "assocfile", assocFiles.get(i)));
    336337        }
    337338
Note: See TracChangeset for help on using the changeset viewer.