Community
Participate
Working Groups
I20090514-2000. The Java > Editor > Content Assist > Favorites preference page's Edit button opens a dialog with "New ..." in the title. It should be "Edit ...".
Created attachment 150088 [details] patch
Thanks Deepak for the patch: it is correct and fixes the problem. There are two trivial things I'd like to see improved: 1. I would also change the existing FavoriteStaticMemberInputDialog_X_title to FavoriteStaticMemberInputDialog_X_new_title to better match the new _edit_ key NOTE: our philosophy is to not just fix the bug when we touch a file but also fix existing issues along with it, e.g. if we touch a class which has Javadoc or other warnings, then fix those along with the fix we do in that class. This is our way to reduce the huge amount of warnings while we go. 2. whenever possible don't make the same check/test twice. In the patch isMember is tested twice. This can be done in better way inside the first isMember test: if (isMember) ... isNew ? member_title : member_edit_title else ... isNew ? type_title : type_edit_title
Created attachment 150209 [details] reworked patch with the suggested changes
Perfect! Patch committed to HEAD. Available in builds > N20091021-2000.
.
Verified in I20091027-0100.