Andrew Jaquith (JIRA) wrote:
Andrew Jaquith commented on JSPWIKI-528: ---------------------------------------- Also, I chose a different idiom for the method signatures
> that indicate when Lists should be sorted. Instead of > creating a method ContentManager.getAllPagesSorted( > String space ) as suggested in the patch, I created an > alternate method getAllPages(String,Comparator<WikiPage>) > that makes the sort request explicit (via the Comparator) > and is also customizable. In addition, to allowed returned > Lists to be sorted simply using Collections,sort(), WikiPage > now extends Comparable<WikiPage>, as does JCRWikiPage.
That should be fine for what I need. I'll now look at porting JSPWiki-526 to 3.0 but I'll create a new Jira issue for that. Both JSPWiki-526 and JSPWiki-528 can be closed as far as I'm concerned.
Greg
