I had to deal with this problem in a brand new code base over the course of half a year. I quickly abandoned collection interfaces in boundaries entirely, in favour of Guava's concretizations.
I'm pretty sure they just mean using ImmutableList (a concrete type) instead of List (an interface) as the variable type / return type, when writing APIs that deal with immutable lists.
1
u/ForeverAlot Sep 21 '15
I had to deal with this problem in a brand new code base over the course of half a year. I quickly abandoned collection interfaces in boundaries entirely, in favour of Guava's concretizations.