Yuta HIGUCHI

Fix map type mismatch

Change-Id: Iadda7707b4ab4f01b5026d314f25a10748d94915
...@@ -133,7 +133,7 @@ final class EncodableDiscreteResources implements DiscreteResources { ...@@ -133,7 +133,7 @@ final class EncodableDiscreteResources implements DiscreteResources {
133 @Override 133 @Override
134 public boolean containsAny(Set<DiscreteResource> other) { 134 public boolean containsAny(Set<DiscreteResource> other) {
135 return other.stream() 135 return other.stream()
136 - .filter(x -> !map.containsKey(x)) 136 + .filter(x -> map.containsKey(getClass(x)))
137 .anyMatch(x -> map.get(getClass(x)).contains(x)); 137 .anyMatch(x -> map.get(getClass(x)).contains(x));
138 } 138 }
139 139
......