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

    r24394 r25635  
    6464      //ArrayList docList_present = new ArrayList();
    6565     
    66      ArrayList docList = new ArrayList();
     66     ArrayList<DocWrapper> docList = new ArrayList<DocWrapper>();
    6767
    6868      for (int d = 0; d < docs.size(); d++) {
     
    133133//      interval = 10;
    134134
    135           doc_nums[d] = ((DocWrapper)docList.get(d)).num;
     135          doc_nums[d] = docList.get(d).num;
    136136       
    137137      }
Note: See TracChangeset for help on using the changeset viewer.