LPS-45252 convert choose to if/else
LPS-45252 use StringBundler
LPS-45252 format for java
LPS-45252 create variables for isInTrash and isInTrashEntries
LPS-45252 pull out logic from append()
LPS-45252 use variable for portletNamespace
LPS-45252 SF
LPS-45252 use sb for StringBundles
LPS-45252 break the append at each variable/new element