added comment about why we can't use set intersection method.

pull/485/head
William Kim 2013-08-20 14:09:14 -04:00
parent b89436d7b9
commit 07bec462cc
1 changed files with 4 additions and 0 deletions

View File

@ -222,6 +222,10 @@ public class UserInfoView extends AbstractView {
// Filter claims from the request object with the claims from the claims request parameter, if it exists
// Doing the set intersection manually because the claim entries may be referring to
// the same claim but have different 'individual claim values', causing the Entry<> to be unequal,
// which doesn't allow the use of the more compact Sets.intersection() type method.
Set<Entry<String, JsonElement>> requestClaimsSet = Sets.newHashSet();
if (claimsRequest != null) {