Sign in
eclipse
/
platform
/
eclipse.platform.common
/
I20170524-2000
/
.
/
bundles
/
org.eclipse.jdt.doc.user
/
whatsNew
/
images
/
unlikely4.txt
blob: 8ddc2057b1d8d025c30e530e86327637a133f424 [
file
] [
log
] [
blame
]
Set<Short> set = new HashSet<>();
short one = 1;
set.add(one);
Number n = one;
set.remove(n); // warning: Unlikely argument type Number for remove(Object) on a Collection<Short>