Fixed or suppressed warnings for rawtypes and unchecked
Removed @Deprecated