IG: "assignment to Collection field"


In general, I like this inspection and have it turned on always.
There is (at least) one exception where is does not apply, in my experience:

Producer/Consumer linked by a Queue (BlockingQueue usually).

Does it make sense to make it configurable for some specific Collection interfaces/classes?


Please sign in to leave a comment.