Add missing @Overrides and fix other warnings. Please make sure to configure your IDE properly so that this shows up as at least a warning, thanks.