2017-03-23 14:37 GMT+01:00 sebb <seb...@gmail.com>: > Not sure I follow. > > What exactly can the compiler check?
You can declare a variable or a field of type UnmodifiableSet but there is no way to create instance of the type UnmodifiableSet - there is no such constructor neither factory method :) Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org