Community
Participate
Working Groups
Please refer to line 152 and line 158. A rather trivial bug that someone from the community can help with. :)
Created attachment 203681 [details] Patch for Bug 297681 Exceptions are now being logged instead of printed.
(In reply to comment #1) > Created attachment 203681 [details] > Patch for Bug 297681 1. Don't include extra whitespace changes, you added some between the package statement and the import statements. 2. Don't use java.util.logging.Logger. The WorkbenchPlugin class has several static log(*) methods. Pick an appropriate one and use that instead. 3. The subject/first line of the commit message should be the bug number and the summary itself (it will definitely wrap to the second line, this is okay): Bug 297681 [Preferences] PlatformUIPreferenceListener should log exceptions instead of printing them Afterwards, include two line breaks and then enter a description of the commit. Although I realize in this case the description is practically identical to what's in the subject but this is how commit messages usually are in Git and it would be good of you to familiarize yourself with Git "coding" standards. 4. Get your global user.name and user.email setup correctly so that it shows your name and your email in the author field. Right now it seems to be off a bit.
Created attachment 205065 [details] Patch for Bug 297681 Steps 1-4 completed from previous comment. There were problems while trying to apply patch - fix was to ignore first few lines of patch file.
(In reply to comment #3) > Created attachment 205065 [details] > Patch for Bug 297681 Thanks Shahin. I'll get this in before M3 goes out.
(In reply to comment #3) > Created attachment 205065 [details] > Patch for Bug 297681 Patch delivered to R3_development and R4_development. Thanks for the patch, Shahin! http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R3_development&id=9f99cceaffbca19707d32b63a4cf63d166f877b0 http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R4_development&id=576aaeb8e6f0a99c30334a96cbfbcbcaa96c5b6b
Verified by code inspection with I20111025-0808 on Windows XP. Thanks, Shahin!