private Set<GrantedAuthority> getRolesReachableInOneOrMoreSteps(
			GrantedAuthority authority) {

		if (authority.getAuthority() == null) {
			return null;
		}

		for (GrantedAuthority testAuthority : this.rolesReachableInOneOrMoreStepsMap
				.keySet()) {
			String testKey = testAuthority.getAuthority();
			if ((testKey != null) && (testKey.equals(authority.getAuthority()))) {
				return this.rolesReachableInOneOrMoreStepsMap.get(testAuthority);
			}
		}

		return null;
	}
private Set<GrantedAuthority> getRolesReachableInOneOrMoreSteps(
			GrantedAuthority authority) {

		if (authority.getAuthority() == null) {
			return null;
		}

		for (GrantedAuthority testAuthority : this.rolesReachableInOneOrMoreStepsMap
				.keySet()) {
			String testKey = testAuthority.getAuthority();
			if ((testKey != null) && (testKey.equals(authority.getAuthority()))) {
				return this.rolesReachableInOneOrMoreStepsMap.get(testAuthority);
			}
		}

		return null;
	}
private Set < GrantedAuthority > getRolesReachableInOneOrMoreSteps ( GrantedAuthority authority ) { if ( authority . getAuthority ( ) == null ) { return null ; } for ( GrantedAuthority testAuthority : this . rolesReachableInOneOrMoreStepsMap . keySet ( ) ) { String testKey = testAuthority . getAuthority ( ) ; if ( ( testKey != null ) && ( testKey . equals ( authority . getAuthority ( ) ) ) ) { return this . rolesReachableInOneOrMoreStepsMap . get ( testAuthority ) ; } } return null ; }
SEC-863
SEC - 863