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

[JENKINS-36720] - Cleanup of SOME medium FindBugs issues #2519

Conversation

oleg-nenashev
Copy link
Member

Started from 480 issues, after the current changes there are only 417 left...
Obviously, I'm not going to fix all of them in short-term.

@oleg-nenashev oleg-nenashev added the work-in-progress The PR is under active development, not ready to the final review label Aug 19, 2016
@@ -188,6 +188,9 @@ private Channel connectViaCliPort(URL jenkins, CliPort clip) throws IOException
rsp.write(ch);
}
String head = new BufferedReader(new StringReader(rsp.toString("ISO-8859-1"))).readLine();
if (head == null) {
throw new IOException("Unexpected empty response");
Copy link
Member

Choose a reason for hiding this comment

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

Clarify from what. According to comment before Proxy response body must be not empty

@oleg-nenashev
Copy link
Member Author

@jenkinsci/code-reviewers Ready to go?

@oleg-nenashev oleg-nenashev added needs-more-reviews Complex change, which would benefit from more eyes and removed work-in-progress The PR is under active development, not ready to the final review labels Sep 24, 2016
@@ -77,6 +77,7 @@
import java.util.IdentityHashMap;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
Copy link
Member

Choose a reason for hiding this comment

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

@oleg-nenashev Should we be using a FindBugs annotation here as per @stephenc's licensing comments?

Copy link
Member Author

Choose a reason for hiding this comment

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

@stephenc committed to do some bulk rework on this front, but he has not followed up yet. By now all FB annotations annotations are marked as deprecated, and I do not consider using them. IANAL, and my objective is to fix the code

@oleg-nenashev
Copy link
Member Author

@daniel-beck WDYT about merging it?

@oleg-nenashev
Copy link
Member Author

@KostyaSha are you fine with my feedback?

@daniel-beck
Copy link
Member

Seems fine.

@oleg-nenashev oleg-nenashev reopened this Apr 2, 2017
@oleg-nenashev oleg-nenashev added ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback and removed needs-more-reviews Complex change, which would benefit from more eyes labels Apr 2, 2017
@oleg-nenashev
Copy link
Member Author

Merging just to get the change integrated.
No serious issues, which require changelogs or backporting

@oleg-nenashev oleg-nenashev merged commit 33f458d into jenkinsci:master Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants