When two events are on at exactly the same time, sort the first to be created earlier in the list (helps keep order, and makes tests simpler)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30181 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2011-09-02 11:46:48 +00:00
parent 248f8b47af
commit a1ce9d37f0
3 changed files with 8 additions and 1 deletions

View File

@@ -134,7 +134,10 @@ public class WikiServiceImpl implements WikiService
siteService, transactionService, taggingService);
}
private String buildName(String title)
/**
* Turns a Title into a Page Name.
*/
private static String buildName(String title)
{
// The name is based on the title, but with underscores
String name = title.replace(' ', '_');