Messages

method | net.sourceforge.pebble.web.action.ViewBlogProperti esAction__static_init

method | void net.sourceforge.pebble.web.action. ViewBlogPropertiesAction()

method | List filterUsersByRole(Collection, String)
pre | users != null
presumption | java.util.Iterator:next(...)@121 != null
presumption | user.grantedAuthories.length@121 <= 232-1
presumption | user.grantedAuthories[...]@121 != null
post | return_value == &new LinkedList(filterUsersByRo le#1)
post | new LinkedList(filterUsersByRole#1) num objects == 1
unanalyzed | call on org.acegisecurity.GrantedAuthority:getAutho rity
unanalyzed | call on java.lang.String:equals
test_vector | java.util.Iterator:hasNext(...)@121: {1}, {0}

method | String[] getRoles(HttpServletRequest)
presumption | init'ed(net.sourceforge.pebble.Constants.BLOG_ ADMIN_ROLE)
presumption | init'ed(net.sourceforge.pebble.Constants.BLOG_ OWNER_ROLE)
post | return_value == &new String[](getRoles#1)
post | new String[](getRoles#1) num objects == 1
post | return_value.length == 2
post | return_value[0] == net.sourceforge.pebble. Constants.BLOG_ADMIN_ROLE
post | (soft) init'ed(return_value[0])
post | return_value[1] == net.sourceforge.pebble. Constants.BLOG_OWNER_ROLE
post | (soft) init'ed(return_value[1])