OC-11919 Navigation from Objective-C code directly to Swift declaration and implementation does not work, instead you jump to the auto-generated ObjC bridging header

make this work faster
This commit is contained in:
Philipp Smorygo
2016-03-21 16:45:50 +03:00
parent efe720add3
commit 214dfa45e4
@@ -2407,7 +2407,7 @@ public class ContainerUtil extends ContainerUtilRt {
return true;
}
@Nullable
@Contract("null -> null; !null -> !null")
public static <T> List<T> trimToSize(@Nullable List<T> list) {
if (list == null) return null;
if (list.isEmpty()) return emptyList();