Clean Code for bundles/org.eclipse.osgi#796
Clean Code for bundles/org.eclipse.osgi#796eclipse-equinox-bot wants to merge 1 commit intomasterfrom
Conversation
laeubi
left a comment
There was a problem hiding this comment.
Cleanup produces a compile error, need to investigate.
|
I think this is similar to I need to adjust Tycho to pass in the configured toolchain JDKs so we get a real java 8 JVM most likely. |
3779d22 to
48abd4a
Compare
|
Tycho change is here: |
62d8981 to
1bbcc81
Compare
|
@tjwatson this also cleanups the felix embedded code, we actually have two options here I think
|
1bbcc81 to
657162c
Compare
tjwatson
left a comment
There was a problem hiding this comment.
The changes to org.eclipse packages look fine. We should not change anything to org.osgi or org.apache source. That should be done in the respective projects. Especially for the org.osgi APIs
0ba013e to
8855a87
Compare
11f980f to
f0b3ccb
Compare
fc3d7e0 to
8342deb
Compare
|
This pull request changes some projects for the first time in this development cycle. An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patchFurther information are available in Common Build Issues - Missing version increments. |
963bf48 to
3906bc9
Compare
|
@tjwatson I now added the excludes, the rest looks fine for me, could you probably also review and approve? |
fd94d85 to
7f36c31
Compare
66ea89f to
694306a
Compare
982c30e to
38eb76a
Compare
0e31fec to
85a9e0c
Compare
tjwatson
left a comment
There was a problem hiding this comment.
I only got about 25% through this PR files. It is a lot. Instead of putting it down to complete later I'm just submitting my findings so far.
| if (log != null) { | ||
| log.log(logEntry); | ||
| else | ||
| } else { // TODO desperate measure - ideally, we should write this to disk (a la // Main.log) |
There was a problem hiding this comment.
Something odd happened with this cleanup that makes this comment appear twice now.
| if (log != null) { | ||
| log.log(logEntry); | ||
| else | ||
| } else { // TODO desperate measure - ideally, we should write this to disk (a la // Main.log) |
There was a problem hiding this comment.
Same issue with duplicate comment.
| if (candidateName.length() == 4 + target.length() && candidateName.endsWith(".jar")) { //$NON-NLS-1$ | ||
| simpleJar = true; | ||
| else | ||
| } else { // name does not match the target properly with an (_|-) version at the end |
There was a problem hiding this comment.
Duplicate comment, but maybe the same issue as @laeubi points out with issue eclipse-jdt/eclipse.jdt.ui#2067
| result[i] = Integer.valueOf(token); | ||
| } catch (Exception e) { | ||
| if (i == 0) | ||
| if (i == 0) { |
There was a problem hiding this comment.
Strange that the cleanup worked correctly on this comment
| device = original.substring(0, uncPrefixEnd); | ||
| original = original.substring(uncPrefixEnd, original.length()); | ||
| } else | ||
| } else { // not a valid UNC |
b2a4a38 to
75c32d3
Compare
351a799 to
2a86f77
Compare
57a6f30 to
66853d3
Compare
66853d3 to
4493fb6
Compare
The following cleanups were applied:
The following Manifest cleanups where applied: