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

(#895, #1170) Refactor FallbackFrom and ScalarWithFallback #1525

Conversation

baudoliver7
Copy link
Contributor

#895, #1170

  • Define a new interface called Fallback;
  • Refactor FallbackFrom and ScalarWithFallback.

@codecov-io
Copy link

codecov-io commented Jan 8, 2021

Codecov Report

Merging #1525 (1a5d730) into master (eb202e1) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1525      +/-   ##
============================================
- Coverage     90.92%   90.89%   -0.03%     
- Complexity     1550     1553       +3     
============================================
  Files           281      281              
  Lines          3680     3680              
  Branches        127      127              
============================================
- Hits           3346     3345       -1     
  Misses          304      304              
- Partials         30       31       +1     
Impacted Files Coverage Δ Complexity Δ
...c/main/java/org/cactoos/func/FuncWithFallback.java 100.00% <ø> (ø) 4.00 <0.00> (ø)
src/main/java/org/cactoos/func/FallbackFrom.java 100.00% <100.00%> (ø) 5.00 <1.00> (ø)
...in/java/org/cactoos/scalar/ScalarWithFallback.java 100.00% <100.00%> (ø) 10.00 <4.00> (ø)
src/main/java/org/cactoos/scalar/Solid.java 90.00% <0.00%> (-10.00%) 3.00% <0.00%> (-1.00%)

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 eb202e1...1a5d730. Read the comment docs.

@baudoliver7
Copy link
Contributor Author

@victornoel, look at this please. I haven't touched file src/main/java/org/cactoos/scalar/Solid.java. But Codecov/project said me there is a need to cover line 68 of Solid.java. WDYT ?

@baudoliver7
Copy link
Contributor Author

I took the latest version of master before sending PR.

@baudoliver7 baudoliver7 closed this Jan 8, 2021
@baudoliver7 baudoliver7 reopened this Jan 8, 2021
@0crat
Copy link
Collaborator

0crat commented Jan 8, 2021

Job #1525 is already in scope

@baudoliver7
Copy link
Contributor Author

It seems to be OK now.

@0crat
Copy link
Collaborator

0crat commented Jan 8, 2021

Job gh:yegor256/cactoos#1525 is not assigned, can't get performer

@0crat 0crat removed the 0crat/scope label Jan 8, 2021
@0crat
Copy link
Collaborator

0crat commented Jan 8, 2021

Pull request #1525 was not merged, no payment for ARC, see §28

@victornoel
Copy link
Collaborator

@0crat status

@0crat
Copy link
Collaborator

0crat commented Jan 9, 2021

@0crat status (here)

@victornoel This is what I know about this job in C63314D6Z, as in §32:

@baudoliver7
Copy link
Contributor Author

@victornoel, PR is still not in scope. Why ?

@victornoel
Copy link
Collaborator

victornoel commented Jan 9, 2021

@baudoliver7 because you closed it once

@victornoel
Copy link
Collaborator

@0crat in

@baudoliver7
Copy link
Contributor Author

Ah, I see now.

@victornoel
Copy link
Collaborator

@0crat status

@0crat
Copy link
Collaborator

0crat commented Jan 9, 2021

@0crat status (here)

@victornoel This is what I know about this job in C63314D6Z, as in §32:

Copy link
Collaborator

@victornoel victornoel left a comment

Choose a reason for hiding this comment

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

@baudoliver7 are a few comments

@baudoliver7
Copy link
Contributor Author

@victornoel, I think that codecov/project checks give random results. I didn't add a new class or method but it said me code coverage level decreased.

@baudoliver7
Copy link
Contributor Author

Please look at my last commits to get the point.

@victornoel
Copy link
Collaborator

@baudoliver7 yes, don't worry too much about codecov, if it's "almost" the target we will still merge it

@victornoel
Copy link
Collaborator

@rultor merge

@victornoel
Copy link
Collaborator

@baudoliver7 looks good, thx :)

@rultor
Copy link
Collaborator

rultor commented Jan 11, 2021

@rultor merge

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

@rultor rultor merged commit ec5bfcf into yegor256:master Jan 11, 2021
@rultor
Copy link
Collaborator

rultor commented Jan 11, 2021

@rultor merge

@victornoel Done! FYI, the full log is here (took me 8min)

@baudoliver7 baudoliver7 deleted the refactor_fallbackfrom_and_scalarwithfallback branch January 11, 2021 09:29
@0crat 0crat added qa and removed 0crat/scope labels Jan 11, 2021
@0crat
Copy link
Collaborator

0crat commented Jan 11, 2021

@sereshqua/z please review this job completed by @fabriciofx/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat
Copy link
Collaborator

0crat commented Jan 11, 2021

Job was finished in 45 hours, bonus for fast delivery is possible (see §36)

@sereshqua
Copy link

@0crat quality bad

@baudoliver7
Copy link
Contributor Author

@sereshqua Why quality is bad ?

@sereshqua
Copy link

@baudoliver7 the reviewer -> @fabriciofx, he has not found ANY issues during code review

this PR is not anyhow related to you :)

@baudoliver7
Copy link
Contributor Author

@sereshqua, I understand now.

@0crat
Copy link
Collaborator

0crat commented Jan 11, 2021

Quality is low, no payment, see §31

@0crat 0crat added quality/bad and removed qa labels Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants