fix: Closure is raw type
removed unnecessary  @SuppressWarnings(unchecked)
fix: resource leak
fix: collections raw types & unchecked casting
fixed some deprecated
Merge pull request #2 from Opalo/feature/warn-fixing

Feature/warn fixing