> Null check, synchronized, new ArrayList, for(s in sList), that kind of thing, right?
> In Scala, it's this. Some would argue you don't even need a separate method.
It seems a bit unfair to force null checks on the Java code and then present a Scala alternative that throws NPE in two different places.