Changed tab characters to 4 spaces
Changed log level from INFO to WARN
Resolved problem with unchecked cast