remove warnings in class Formatter, use generic parameter for collections, add //-NLS-1$ clause for strings
remove unused import