| Summary: | Fix some FindBugs warnings | ||
|---|---|---|---|
| Product: | [Tools] MAT | Reporter: | Andrew Johnson <andrew_johnson> |
| Component: | Core | Assignee: | Project Inbox <mat.core-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | krum.tsvetkov |
| Version: | 1.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Andrew Johnson
Fixed missing throw in the ClassLoaderExplorerQuery using bug 327433 as that bug is still in assigned state. Fixed dead store in HashEntriesQuery. Fixed a redundant comparison in OQL. No need to compare a double against +0 and -0, and even a comparison with -0.0 would be unnecessary. Should NaN be treated as false or true? Not sure about this one. We can leave it as it is (false) until we find a reason to change it. Find bugs showed a problem where the notes file was written in UTF8 but read in the default encoding. UTF8 is best as the notes files get moved from machine to machine. Should we upgrade to the latest plug-in 2.5.2 with FindBugs 2.0 ? http://mojo.codehaus.org/findbugs-maven-plugin/ Let's give it a try. I'm just trying if building locally works and will them submit the change. Fix reliance on default file encoding for HPROF and IBM acquire dumps - we now force the file encoding on the executable and use the same encoding when reading the result of the command. I think this one is finished. Let's open further tickets if we have concrete issues, instead of keeping this one forever. |