Skip to content
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

Code cleanup #140

Merged
merged 11 commits into from
Aug 17, 2020
Merged

Code cleanup #140

merged 11 commits into from
Aug 17, 2020

Conversation

basil
Copy link
Member

@basil basil commented Aug 15, 2020

A series of code cleanup changes for this repository. Most of these changes remove usages of deprecated functionality or otherwise fix IDE warnings. I kept each commit separate. Each commit message should be self-explanatory, but if anything is unclear I am happy to provide further explanation. I suggest ignoring whitespace changes in the GitHub UI when reviewing
f06bd78. Also, feel free to revert any specific cleanup commits that are unwanted.

@dwnusbaum
Copy link
Member

Two test failures, one I think is a legitimate flaky test, and I am investigating in #133. The other looks like a CI infra issue:

java.lang.OutOfMemoryError: unable to create new native thread

Perhaps they are both caused by the infra issue, but I'm not sure.

Copy link
Member

@dwnusbaum dwnusbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -193,7 +191,7 @@ public void stop(Throwable cause) throws Exception {
}
Jenkins j = Jenkins.getInstanceOrNull();
if (j != null) {
COMPUTERS: for (Computer c : j.getComputers()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird...

@dwnusbaum dwnusbaum closed this Aug 17, 2020
@dwnusbaum dwnusbaum reopened this Aug 17, 2020
@dwnusbaum dwnusbaum merged commit 2bcbcee into jenkinsci:master Aug 17, 2020
@basil basil deleted the improvements branch August 17, 2020 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants