Project

General

Profile

« Previous | Next » 

Revision 4475

Added by daigle about 16 years ago

Add some generics typing

View differences:

src/edu/ucsb/nceas/metacat/util/MetaCatUtil.java
43 43
import edu.ucsb.nceas.dbadapter.AbstractDatabase;
44 44
import edu.ucsb.nceas.metacat.DBSAXHandler;
45 45
import edu.ucsb.nceas.metacat.MetaCatServlet;
46
import edu.ucsb.nceas.metacat.NodeRecord;
46 47
import edu.ucsb.nceas.metacat.service.PropertyService;
47 48
import edu.ucsb.nceas.metacat.service.SkinPropertyService;
48 49
import edu.ucsb.nceas.utilities.PropertyNotFoundException;
......
648 649
    /**
649 650
     * Revise stack change a stack to opposite order
650 651
     */
651
    public static Stack reviseStack(Stack stack)
652
    public static Stack<NodeRecord> reviseStack(Stack<NodeRecord> stack)
652 653
    {
653 654
        Stack result = new Stack();
654 655
        // make sure the parameter is correct

Also available in: Unified diff