Converted some ISO-8859-1 files to UTF-8.

Ant may complain otherwise. Mostly, if the user locale is UTF-8.
Fixed conversion from generic Map.Entry key.

Java does automatic unboxing (i.e. from Integer to int), but casting an Object into an int is not allowed, since the int is not an Object. You can cast the Object to an Integer (which is also an Object), java will take care of the rest.