Details

Description

Attached patch mostly adds type safety to all Collections used in the area package internally, simplifies some for-loops, eliminates redundant casts and (un)boxing...

Reason why it's posted as a patch is that it concerns en entire package. If I judge correctly, the only effect should be that after the patch, most of the 'unsafe operation' warnings shift to other packages. The ones remaining are due to operations on external 'unsafe' Collections.

Most significant impact is likely the change in method signature for the Resolvable interface. Not sure if that is being used by extensions...