Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] New warnings in build logs

Hi everybody,

Eclipse 4.7M6 introduces new problem reports:

- WARNING: Unlikely argument type for collection methods using 'Object'
- INFO: Unlikely argument type for method equals

As analyzed in https://bugs.eclipse.org/bugs/show_bug.cgi?id=410218#c49 (only Group A and Group C are reported now), most of these are bugs, that should be fixed.
The remaining ones can be rewritten (e.g. by instanceof checks and casts) or suppressed with @SuppressWarnings("unlikely-arg-type").

Note: Only the warnings appear in the build logs (see e.g. https://bugs.eclipse.org/bugs/show_bug.cgi?id=513790 )
and they should definitely be fixed, but it is also a very good idea to go through all the new infos.

Best regards,
Your jdt.core team




Back to the top