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

#863 removed some nulls #907

Merged
merged 1 commit into from
Dec 26, 2018
Merged

#863 removed some nulls #907

merged 1 commit into from
Dec 26, 2018

Conversation

krzyk
Copy link
Contributor

@krzyk krzyk commented Dec 22, 2018

#863

  • removed some null instances
  • added todo for continuation

@0crat 0crat added the scope label Dec 22, 2018
@0crat
Copy link
Collaborator

0crat commented Dec 22, 2018

Job #907 is now in scope, role is REV

@codecov-io
Copy link

codecov-io commented Dec 22, 2018

Codecov Report

Merging #907 into master will increase coverage by 0.08%.
The diff coverage is 94.28%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #907      +/-   ##
============================================
+ Coverage      74.1%   74.19%   +0.08%     
+ Complexity      959      953       -6     
============================================
  Files           220      220              
  Lines          4731     4723       -8     
  Branches        372      364       -8     
============================================
- Hits           3506     3504       -2     
  Misses         1071     1071              
+ Partials        154      148       -6
Impacted Files Coverage Δ Complexity Δ
.../main/java/org/takes/facets/fork/FkHitRefresh.java 68.11% <ø> (ø) 6 <0> (ø) ⬇️
src/main/java/org/takes/misc/Href.java 89.81% <100%> (+0.19%) 33 <2> (ø) ⬇️
src/main/java/org/takes/rq/multipart/RqMtBase.java 93.96% <100%> (+0.05%) 25 <2> (ø) ⬇️
...in/java/org/takes/facets/auth/social/PsGoogle.java 85.45% <100%> (+1.24%) 6 <0> (-1) ⬇️
src/main/java/org/takes/http/BkSafe.java 85.71% <100%> (+23.21%) 1 <0> (ø) ⬇️
src/main/java/org/takes/http/FtBasic.java 66.66% <100%> (+3.03%) 4 <0> (-1) ⬇️
src/main/java/org/takes/http/Options.java 66% <100%> (-1.86%) 11 <4> (-3)
src/main/java/org/takes/rq/RqHeaders.java 84.21% <100%> (+0.28%) 0 <0> (ø) ⬇️
src/main/java/org/takes/rs/RsWithStatus.java 88.23% <100%> (+3.05%) 9 <1> (ø) ⬇️
src/main/java/org/takes/rq/form/RqFormBase.java 67.5% <60%> (+0.83%) 9 <1> (ø) ⬇️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7a4efc7...1e04fe7. Read the comment docs.

@krzyk
Copy link
Contributor Author

krzyk commented Dec 25, 2018

@paulodamaso ping

Copy link
Contributor

@paulodamaso paulodamaso left a comment

Choose a reason for hiding this comment

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

@krzyk Just two comments. please take a look

@@ -48,8 +48,7 @@ public void accept(final Socket socket) {
try {
back.accept(socket);
// @checkstyle IllegalCatchCheck (1 line)
} catch (final Throwable ex) {
assert ex != null;
} catch (final Throwable ignored) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@krzyk Why just ignore this exception?

Copy link
Contributor Author

@krzyk krzyk Dec 26, 2018

Choose a reason for hiding this comment

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

@paulodamaso because it was ignored already, I just removed null, I didn't want to change the functionality.

@@ -112,8 +112,7 @@ public void start(final Exit exit) throws IOException {
private void loop(final ServerSocket server) throws IOException {
try {
this.back.accept(server.accept());
} catch (final SocketTimeoutException ex) {
assert ex != null;
} catch (final SocketTimeoutException ignored) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@krzyk Why just ignore this exception?

Copy link
Contributor

@paulodamaso paulodamaso left a comment

Choose a reason for hiding this comment

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

@krzyk Made some comments, please take a look

@paulodamaso
Copy link
Contributor

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Dec 26, 2018

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit 1e04fe7 into yegor256:master Dec 26, 2018
@rultor
Copy link
Collaborator

rultor commented Dec 26, 2018

@rultor merge

@paulodamaso Done! FYI, the full log is here (took me 18min)

@0crat 0crat removed the scope label Dec 26, 2018
@0crat
Copy link
Collaborator

0crat commented Dec 26, 2018

Job gh:yegor256/takes#907 is not assigned, can't get performer

@0crat
Copy link
Collaborator

0crat commented Dec 26, 2018

The job #907 is now out of scope

@krzyk krzyk deleted the 863 branch December 26, 2018 20:01
@krzyk krzyk mentioned this pull request Dec 26, 2018
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.

None yet

5 participants