Cleanup issues discovered by FindBugs#210
Conversation
|
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
There was a problem hiding this comment.
Is it a standard for GitHub?
There was a problem hiding this comment.
yes. Content-type includes utf-8 as charset
|
Kohsuke Kawaguchi » github-api #380 SUCCESS |
|
👍 |
|
Kohsuke Kawaguchi » github-api #381 SUCCESS |
|
👍 and squash before merge please |
88ca014 to
79c5b2e
Compare
|
@KostyaSha |
|
Kohsuke Kawaguchi » github-api #382 SUCCESS |
|
👍 |
Cleanup issues discovered by FindBugs
There was a problem hiding this comment.
Wouldn't Long.parseLong() suit better here?
There was a problem hiding this comment.
Depends on what is in X-Poll-Interval but you may be right
There was a problem hiding this comment.
This is the same, I just noticed it.
There was a problem hiding this comment.
In any case this code does not handle parsing exceptions, which may strike back at some point
The change closes about 100 issues (mostly API ones), but there're also several changes for encodings and file streams
@reviewbybees @lanwen @KostyaSha