Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Eclipse's default warnings generated for ambari-server number roughly over 3300. Out of these, at least half of them are:
- Unused imports
- Type safety due to forgotten <>
- Missing Serialization IDs from anonymous HashMap implementations
- Unused variables
- Capture<T> in tests
- switch fall-through and missing case statements: only makes changes which won't affect existing functionality
This makes spotting actual problems, like missing case statements a nightmare. We need to go through and clean out as many of these warnings as possible.
Note: With respect to the import cleanup, the IDE of choice should have the following import order setup. They should always be expanded and never use *.
- java
- javax
- org
- com
- other
Attachments
Attachments
Issue Links
- links to
(8 links to)