Skip to content

Commit

Permalink
Removed a <?> generic in a instanceof.
Browse files Browse the repository at this point in the history
This syntax is broken under Eclipse.
For some reason this syntax is valid from BuildJar
but it is not compatible with Eclipse Java 8.

--
MOS_MIGRATED_REVID=89397040
  • Loading branch information
damienmg authored and hanwen committed Mar 24, 2015
1 parent b30ce2c commit 0c6092c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected <T> Iterable<T> visitAttribute(String attributeName, Type<T> type) {
*/
@Nullable
public <T> Collection<T> getMergedValues(String attributeName, Type<List<T>> type) {
Preconditions.checkState(type instanceof Type.ListType<?>);
Preconditions.checkState(type instanceof Type.ListType);
if (!isConfigurable(attributeName, type)) {
return get(attributeName, type);
}
Expand Down

0 comments on commit 0c6092c

Please sign in to comment.