acl/src/main/java/org/springframework/security/acls/domain/SidRetrievalStrategyImpl.java
public List<Sid> getSids(Authentication authentication) {
		Collection<? extends GrantedAuthority> authorities = roleHierarchy
				.getReachableGrantedAuthorities(authentication.getAuthorities());
		List<Sid> sids = new ArrayList<>(authorities.size() + 1);

		sids.add(new PrincipalSid(authentication));

		for (GrantedAuthority authority : authorities) {
			sids.add(new GrantedAuthoritySid(authority));
		}

		return sids;
	}
public List<Sid> getSids(Authentication authentication) {
		Collection<? extends GrantedAuthority> authorities = roleHierarchy
				.getReachableGrantedAuthorities(authentication.getAuthorities());
		List<Sid> sids = new ArrayList<>(authorities.size() + 1);

		sids.add(new PrincipalSid(authentication));

		for (GrantedAuthority authority : authorities) {
			sids.add(new GrantedAuthoritySid(authority));
		}

		return sids;
	}
public List < Sid > getSids ( Authentication authentication ) { Collection < ? extends GrantedAuthority > authorities = roleHierarchy . getReachableGrantedAuthorities ( authentication . getAuthorities ( ) ) ; List < Sid > sids = new ArrayList <> ( authorities . size ( ) + 1 ) ; sids . add ( new PrincipalSid ( authentication ) ) ; for ( GrantedAuthority authority : authorities ) { sids . add ( new GrantedAuthoritySid ( authority ) ) ; } return sids ; }
========================================================================================================
========================================================================================================