Fix the warnings shown in Eclipse. That is, removing unused field,
replace deprecated methods, and removing unused imports.
12 files changed