instanceof will always return false in shareStrings(StringPool), since a org.eclipse.core.internal.resources.IMarkerSetElement can't be a String in MarkerSet.java
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
Bug report generated from FindBugs
instanceof will always return false in shareStrings(StringPool), since a
org.eclipse.core.internal.resources.IMarkerSetElement can't be a String
In class org.eclipse.core.internal.resources.MarkerSet
In method shareStrings(StringPool)
Actual type org.eclipse.core.internal.resources.IMarkerSetElement
Expected String
Value loaded from o
At MarkerSet.java:[line 238]
Bug pattern explanation:
This instanceof test will always return false. Although this is safe, make
sure it isn't an indication of some misunderstanding or some other logic error.
FindBugs issue identifier (do not modify or remove):
d75a10dfc7c2ebdaa1e6f59eb9bc05c9
Original issue reported on code.google.com by keithl
on 11 Feb 2010 at 12:32
Google Code Exporter commented
Original comment by keithl
on 11 Feb 2010 at 12:33
- Changed state: Invalid