-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean Code for bundles/org.eclipse.osgi #796
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also working here now, but waiting for feedback from @tjwatson
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 patch
Further 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
@@ -1291,9 +1345,10 @@ private static void updateSplash(Semaphore semaphore, StartupEventListener liste | |||
} | |||
} | |||
// can we acquire the semaphore yet? | |||
if (semaphore.tryAcquire(50, TimeUnit.MILLISECONDS)) | |||
if (semaphore.tryAcquire(50, TimeUnit.MILLISECONDS)) { | |||
break; // done | |||
// else still working, spin another update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/* xxx */ | ||
int index = string.indexOf(substr2, pos); | ||
if (index == -1) { | ||
return false; | ||
} | ||
pos = index + substr2.length(); | ||
if (i + 2 < size) // if there are more | ||
if (i + 2 < size) { // if there are more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible improvement:
4ed30a7
to
40791c4
Compare
b046838
to
da34f10
Compare
The following cleanups where applied: