Removed unused imports
Removed unused fields
Added parameter to generic Cluster
Removed unused variable
Use List object instead of array to avoid unchecked conversion
Suppress warning about deprecated type as it’s intentional
Suppress lint warning about handler leaks as these are short-lived objects
Replaced tabs with spaces
Initialize ArrayList with capacity
Merge pull request #53 from choefele/fix-warnings

Fix compiler and lint warnings