anchor.diff:                  }
               }
           }
  -        selectedRoles = addSelectedRoleLists(selectedRoles,(Map<String,Boolean>)session.getAttribute("checkedRolesMap"));
  -        addDeletedRoleLists(deletedList, (Map<String,Boolean>) session.getAttribute("checkedRolesMap"));
  +        selectedRoles = addSelectedRoleLists(selectedRoles, (Map<String, Boolean>) session.getAttribute("checkedRolesMap"));
  +        addDeletedRoleLists(deletedList, (Map<String, Boolean>) session.getAttribute("checkedRolesMap"));
   
  -        if(viewUsers){
  +        if (viewUsers) {
               client.addRemoveRolesOfUser(Util.decodeHTMLCharacters(username), null,
                       deletedList.toArray(new String[deletedList.size()]));
           } else {
  
positive.code:    under the License.
    --%>
  
  <%@page import="org.apache.axis2.context.ConfigurationContext"%>
  <%@page import="org.wso2.carbon.CarbonConstants" %>
  <%@page import="org.wso2.carbon.ui.CarbonUIMessage"%>
  <%@page import="org.wso2.carbon.ui.CarbonUIUtil"%>
  <%@page import="org.wso2.carbon.ui.util.CharacterEncoder" %>
  <%@page import="org.wso2.carbon.user.mgt.ui.UserAdminClient" %>
  <%@ page import="org.wso2.carbon.user.mgt.ui.UserAdminUIConstants" %>
  
negative.code:         return selectedRoles;
      }
  
      private void addDeletedRoleLists(List<String> deletedRoles, Map<String, Boolean> sessionRolesMap) {
          if (sessionRolesMap != null) {
              Set<String> keys = sessionRolesMap.keySet();
              for (String key : keys) {
                  if (sessionRolesMap.get(key) == false && !deletedRoles.contains(key)) {
                      deletedRoles.add(key);
                  }
              }
  