Skip to content

Cleanup issues discovered by FindBugs#210

Merged
oleg-nenashev merged 1 commit intohub4j:masterfrom
oleg-nenashev:findbugs-cleanup
Jul 24, 2015
Merged

Cleanup issues discovered by FindBugs#210
oleg-nenashev merged 1 commit intohub4j:masterfrom
oleg-nenashev:findbugs-cleanup

Conversation

@oleg-nenashev
Copy link
Copy Markdown
Collaborator

The change closes about 100 issues (mostly API ones), but there're also several changes for encodings and file streams

@reviewbybees @lanwen @KostyaSha

@ghost
Copy link
Copy Markdown

ghost commented Jul 19, 2015

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yep, plz change to utf8

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Is it a standard for GitHub?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yes. Content-type includes utf-8 as charset

@buildhive
Copy link
Copy Markdown

Kohsuke Kawaguchi » github-api #380 SUCCESS
This pull request looks good
(what's this?)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@lanwen the same?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yep

@KostyaSha
Copy link
Copy Markdown
Contributor

👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

typo?

@buildhive
Copy link
Copy Markdown

Kohsuke Kawaguchi » github-api #381 SUCCESS
This pull request looks good
(what's this?)

@KostyaSha
Copy link
Copy Markdown
Contributor

👍 and squash before merge please

@oleg-nenashev
Copy link
Copy Markdown
Collaborator Author

@KostyaSha
I've squashed the stuff

@buildhive
Copy link
Copy Markdown

Kohsuke Kawaguchi » github-api #382 SUCCESS
This pull request looks good
(what's this?)

@lanwen
Copy link
Copy Markdown
Contributor

lanwen commented Jul 20, 2015

👍

oleg-nenashev added a commit that referenced this pull request Jul 24, 2015
Cleanup issues discovered by FindBugs
@oleg-nenashev oleg-nenashev merged commit ec450b8 into hub4j:master Jul 24, 2015
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wouldn't Long.parseLong() suit better here?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Depends on what is in X-Poll-Interval but you may be right

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is the same, I just noticed it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

In any case this code does not handle parsing exceptions, which may strike back at some point

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.

7 participants