| Summary: | [New Contributors] Remove (non-Javadoc) @see statements if @Override is used | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Lars Vogel <Lars.Vogel> |
| Component: | UI | Assignee: | Lars Vogel <Lars.Vogel> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, ekchou, Gmsakith, jeandersonbc, Lars.Vogel, Michael_Rennie, nobody, pablo.cabrera, psuzzi, pwebster |
| Version: | 4.4 | ||
| Target Milestone: | 4.5 M1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Lars Vogel
I plan to use this bug as placeholder for such activities, to have something for the commit message. I plan also to use such simple clean-up stuff as introduction exercises for Eclipse Hackthon events (see for example https://wiki.eclipse.org/Hackathon_Hamburg_2013). I recommend only making small changes. i.e. removing a few at a time, in classes that are being worked on or in one class at a time. PW (In reply to Paul Webster from comment #2) > I recommend only making small changes. i.e. removing a few at a time, in > classes that are being worked on or in one class at a time. Thanks Paul, I plan to follow your advice. I assume real adjustments should be separated from this clean-up, therefore I created this bug to have something for the commit message to point to. (In reply to Paul Webster from comment #2) > I recommend only making small changes. i.e. removing a few at a time, in > classes that are being worked on or in one class at a time. > > PW +1! ActivityCategoryPreferencePage https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=837a195cd9d56e9b8bba03fee6f4e80db753b6d1 Léo added https://git.eclipse.org/r/#/c/20982/ PW (In reply to Paul Webster from comment #6) > Léo added https://git.eclipse.org/r/#/c/20982/ Applied with https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=9e9999ab59c1937ab739bc0b82520fd66ed38116 ToolBarManagerRenderer also adjusted https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=9e532294d9447908574d46fc837bcf189c432178 ToolBarRenderer adjusted with https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=cc7f0894dff41a67d5e732bc15e60d4c1c2fd15c Since using regex to find these specific statements has been a little tricky, I used the following regex: "@see.*\n\s*\*/\n\s*@Override". This currently pulls up 336 matches for me. I made a fix to one file: bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java. https://git.eclipse.org/r/21710 (In reply to Erik Chou from comment #11) > I made a fix to one file: bundles/org.eclipse.ui.workbench/Eclipse > UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java. > https://git.eclipse.org/r/21710 Thanks, released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=ad53831bbd4a7854561d9b03a2c8e10cb1f6659f PW Hi everyone. I removed the non-javadoc statements from 2 files (one from org.eclipse.e4.ui.bindings.internal and org.eclipse.e4.commands.internal): https://git.eclipse.org/r/#/c/21981/ PS.: Is there someone else having issues using Eclipse Luna on Windows? * I updated my last review with only one class now and opened another https://git.eclipse.org/r/#/c/22001/ (In reply to Jeanderson Candido from comment #14) Thanks both merged with https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=51e47a85dccd4a95ecd1e0549103ffe19cb5d260 and https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=c7a2449c12bbeb7bdecb48338d4ea407c50df272 Updated ComboViewer: https://git.eclipse.org/r/#/c/22096/ AbstractCSSEngine adjusted with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=1ed98553af4e46314f7cd8bb97861252ce397c65 ThemeEngine done with https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=1c72f3b8089c9959585402309b1e61116f0693f7 FileResourcesLocatorImpl, HttpResourcesLocatorImpl and OSGiResourceLocator done with https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=fb348eeef12d18c729c8cac95fa0ef26c07eb46d ProgressMonitorPart fixed with https://git.eclipse.org/r/#/c/22335/ Fixed DeferredContentProvider, LazySortedCollection, and SetModel with https://git.eclipse.org/r/22401 Fixed BackgroundContentProvider with https://git.eclipse.org/r/22400 DeferredContentProvider, LazySortedCollection, and SetModel fixed with https://git.eclipse.org/r/#/c/22401/ Sorry about my last comment... Forget about it. ProgressMonitorPart fixed with https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=6ffea9c4394ceebe85863b26ec0877c30cd01ffd Could someone help me to figure why the build is failing? https://git.eclipse.org/r/#/c/22401/ Before commiting my changes, I updated my codebase to origin/master (git pull) and then pushed my patch to gerrit. I thought it could be something related to out-of-dated code but everything was updated before commiting... Thanks in advance. Looks like there was a change in the target platform. I've pushed that to the eclipse maven repo and re-triggered the build. PW (In reply to Paul Webster from comment #26) > Looks like there was a change in the target platform. I've pushed that to > the eclipse maven repo and re-triggered the build. > > PW Thank you very much for your assistance Paul, I'm glad it worked now :) https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=2bc10ff71bc6a3972fe8b1d0c1c6a245e57041f8 removed unnecessary javadoc on the following classes: - preference/PreferenceStore.java - viewers/deferred/BackgroundContentProvider.java - viewers/deferred/DeferredContentProvider.java - viewers/deferred/SetModel.java https://git.eclipse.org/r/#/c/22728/ Removed non-javadoc @see statements for @overriden methods from /org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java (In reply to Sakith Indula from comment #29) > https://git.eclipse.org/r/#/c/22728/ > > Removed non-javadoc @see statements for @overriden methods from > /org.eclipse.core.commands/src/org/eclipse/core/commands/ > ParameterizedCommand.java Thanks. See comment in the review. (In reply to Sakith Indula from comment #29) > https://git.eclipse.org/r/#/c/22728/ > > Removed non-javadoc @see statements for @overriden methods from > /org.eclipse.core.commands/src/org/eclipse/core/commands/ > ParameterizedCommand.java Hi Sakith. I had some issues similar to what you have now. I guess the build is failing because your patch requires an abandoned change. In any case, you have to rebase your local branch and remove the unnecessary commit from your "commit stack". You can work around it by checking out your patch, resetting your local branch to remove the dependency, redo your work, and finally update your patch. I hope you find this information useful. If you are not comfortable with Git, I suggest you to read this: http://git-scm.com/book/en/ Jeanderson For the Jface Dialog class https://git.eclipse.org/r/22899 For ModelServiceImpl including the removal of one obsolete //HACK statement https://git.eclipse.org/r/22974 For ContextSet: https://git.eclipse.org/r/23052 For E4Workbench class: https://git.eclipse.org/r/23084 For ElementMatcher class: https://git.eclipse.org/r/23085 Thanks, all provided cleanup patches have been merged Fix for review: https://git.eclipse.org/r/#/c/23568/ (In reply to Paul Webster from comment #38) > Fix for review: https://git.eclipse.org/r/#/c/23568/ Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=9dddb1b7b97c6502a9140e2dac80672f413b8415 PW From Sebastian: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=269001bee864dddecac0cea8e0637358b48464f4 PW From Fredrik http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=df720fb4cc0d9eeba938e935dde371769a332de7 PW Released by Louis-Michel http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=1112f01ddfb92605fb2dbdced050539e95981953 More from Louis-Michel https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=a666c1e030200762865b91cd7e3dc54d82f6de23 WorkbenchPage https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=8d4d332b5f77219a124a7a821d1cc4e6edc05e72 CoolBarToTrimManager fixed with https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=b3c8a7f111b94459fb9b7da66ae56a7b488eb7a8 (In reply to Matthias Mailänder from comment #48) > https://git.eclipse.org/r/24083 to get started on > https://wiki.eclipse.org/Hackathon_Hamburg_2014 Merged with: http://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=307bfb8b07421b40543c049f127f351c44ff9fa2 Thank Matthias. FilterTree, PatternFilter https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=24bffa02e5ed0c6a76f3ea590cf8fbb7726e4395 ActionFactory https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=07dab31c1ee348ab99dd3ad4329bc1d02c3fcdc5 Marking as fixed for M1, this bug get long and the title is a bit to bulky. New fixed should go to Bug 441244. . |