org.sakaiproject.site.api.Site equals()
method will return true when passed a string if it matches the ID of the site. The reason they do this is so that they can save a list of site IDs and then have a collection of sites and call
siteList.removeAll(stringList);
. This can be seen is action in the CharonPortal where is is used to hide sites that the user isn't interested in.
No comments:
Post a Comment