Community
Participate
Working Groups
RC2 The Javadoc for the methods in ITableLabelProvider are missing @return tags.
Trigger PR: bug 67870. Actually, there is some inconsistency here. Both getText and getImage in ILabelProvider are spec'ed to allow null return values. But the viewers don't check for null. ITableLabelProvider's methods should also allow null return values. All viewers needs to be fixed up to check for null, and use the empty string instead.
I have clarified the javadoc but I still need to check the viewers.
I have checked, fixed and released all of the uses of ILabelProvider in the platform that may have resulted in an NPE due to a null text.
Verified in 20040921