[BISERVER-11284] Removes a dependency on the backport version of java.ut...

...il.Collections. Fixes compiler generics warnings.