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

    r25541 r25635  
    2525import java.io.InputStreamReader;
    2626import java.io.OutputStream;
     27import java.io.Serializable;
    2728import java.lang.reflect.Type;
    2829import java.util.ArrayList;
     
    370371        }
    371372
    372         HashMap params = GSXML.extractParams(param_list, false);
     373        HashMap<String, Serializable> params = GSXML.extractParams(param_list, false);
    373374        String transactionString = (String) params.get("transactions");
    374375        transactionString = transactionString.replace("%26", "&");
     
    393394            for (int j = 0; j < transactions.size(); j++)
    394395            {
    395                 Map keyValueMap = (Map) transactions.get(j);
     396                Map keyValueMap = transactions.get(j);
    396397                String operation = (String) keyValueMap.get("operation");
    397398                if (operation.equals("move") || operation.equals("duplicate"))
Note: See TracChangeset for help on using the changeset viewer.