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/util/GS2MacroResolver.java

    r23798 r25635  
    2626// Apache Commons
    2727import org.apache.commons.lang3.*;
     28import org.greenstone.gsdl3.util.MacroResolver.Macro;
    2829
    2930import java.util.Stack;
     
    6566    }
    6667
    67     Stack macros = new Stack();//ArrayList macros;
     68    Stack<Macro> macros = new Stack<Macro>();//ArrayList macros;
    6869    if (scope.equals(SCOPE_TEXT)) {
    6970        macros.addAll(text_macros);
     
    7475    while(!macros.empty()) {
    7576        String new_text = null;
    76         Macro m = (Macro)macros.pop();//.get(i);
     77        Macro m = macros.pop();//.get(i);
    7778        switch (m.type) {
    7879        case TYPE_DICT:
Note: See TracChangeset for help on using the changeset viewer.