import java.util.*; class InstanceofAndWhitespace { void foo(List<Object> os) { for (Object o : os) { if (o instanceof String) { } } } }