| Summary: | Scheme is ignored while selecting the best shortcut to display | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Paul Webster <pwebster> |
| Component: | UI | Assignee: | Paul Webster <pwebster> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | bsd, daniel_megert, emoffatt, gheorghe, john.arthorne, ob1.eclipse |
| Version: | 4.2 | Flags: | ob1.eclipse:
review+
bsd: review+ |
| Target Milestone: | 4.2 RC2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | 380301 | ||
| Bug Blocks: | 375762 | ||
|
Description
Paul Webster
I've pushed with the fix, but before I get it reviewed we should decide if we need to clean up the code. http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=pwebster/bug380322&id=4b2a72f8f1934f4c1e3dfd4ea24bc52cc5972933 As is we end up with replication of the same compareSchemes in a couple of locations. BindingService, BindingTables, BindingTableManager. This could be reduced to one location and reused, possibly a utility method. PW This is the fix that includes refactoring compareSchemes(*) into a utility method: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=pwebster/bug380322&id=42ba5e21e99a9fc8f7f7b5542fc60f54418077f5 PW It depends on the fix for bug 380301 Oleg, Eric, could I get a review? PW +1 for the fix from the comment 1 (without refactoring). I'd prefer to have minimal code changes at this point. Probably open a bug for 4.3 as a reminder to clean up the code when we are in a normal development cycle. Looks safe to me. Fixed with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=4b2a72f8f1934f4c1e3dfd4ea24bc52cc5972933 I opened bug 380463 for the refactoring. PW . Verified in 4.2-I20120523-1900. |