CVS: Tapestry/junit/src/net/sf/tapestry/junit/mock/c6 C6Engine.java,NONE,1.1.2.1

Howard Lewis Ship <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/junit/src/net/sf/tapestry/junit/mock/c6
In directory sc8-pr-cvs1:/tmp/cvs-serv28564/junit/src/net/sf/tapestry/junit/mock/c6

Added Files:
      Tag: hship-2-3
	C6Engine.java 
Log Message:
Fix some of the test cases to work properly under JDK 1.3.

--- NEW FILE: C6Engine.java ---
package net.sf.tapestry.junit.mock.c6;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import net.sf.tapestry.engine.BaseEngine;

/**
 *  Provides a sorted list of active pages.
 *
 *  @author Howard Lewis Ship
 *  @version $Id: C6Engine.java,v 1.1.2.1 2003/01/05 00:24:52 hship Exp $
 *  @since 2.4
 *
 **/

public class C6Engine extends BaseEngine
{
    public List getSortedActivePageNames()
    {
        List result = new ArrayList(getActivePageNames());

        Collections.sort(result);

        return result;
    }
}



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.