commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Williams (JIRA)" <>
Subject [jira] Created: (VFS-177) Sort Order on ZipFileOrder
Date Wed, 17 Oct 2007 16:03:51 GMT
Sort Order on ZipFileOrder

                 Key: VFS-177
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: Nightly Builds
         Environment: windows xp
            Reporter: Stephen Williams

Since my zip file contains a image sequence I need to sort it by name.

I had no way to sort so I modified the code below in the

     * Lists the children of the file.
    protected String[] doListChildren()
    	ArrayList childrenArrayList = new ArrayList(children);
    	return (String[])childrenArrayList.toArray(new String[children.size()]);

        //previous code
        //return (String[]) children.toArray(new String[children.size()]);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message