| Summary: | [junit] interesting warning in JUnitPropertyTester | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Stephan Herrmann <stephan.herrmann> |
| Component: | UI | Assignee: | Dani Megert <daniel_megert> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | trivial | ||
| Priority: | P3 | CC: | daniel_megert |
| Version: | 3.8 | ||
| Target Milestone: | 3.8 M5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Stephan Herrmann
(In reply to comment #0) > I hope the above renders correctly in bugzilla so that you can see what the > compiler sees :) Automatic line wrapping didn't help, so here's the relevant part again: "Element must be of type 'IAdaptable', is " + receiver == null ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Null comparison always yields false: this expression cannot be null That's a nice one. Fixed in master: 423f052c415eff05a9d05be3cf02e69b1d938ec6 |