-
Notifications
You must be signed in to change notification settings - Fork 203
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
#780 Implement Condition.Range #801
Conversation
Job #801 is now in scope, role is |
Codecov Report
@@ Coverage Diff @@
## master #801 +/- ##
============================================
+ Coverage 76.62% 76.66% +0.04%
Complexity 953 953
============================================
Files 215 215
Lines 4517 4530 +13
Branches 359 361 +2
============================================
+ Hits 3461 3473 +12
Misses 904 904
- Partials 152 153 +1
Continue to review full report at Codecov.
|
@t-izbassar method new Select<Integer>(
Arrays.asList(3, 5, 7, 9, 11, 13, 15),
new Condition.Range<Integer>(2, 4)
); // -> [7, 9, 11] In my opinion new Range<Integer>(
Arrays.asList(3, 5, 7, 9, 11, 13, 15),
2,
4
); // -> [7, 9, 11] @yegor256 what do you think? Maybe we can use https://github.com/yegor256/cactoos here? |
@g4s8 I agree about side-effect, but that's the only possible way to do this task. Your suggestion is valid. However, it cannot be used with
Regarding adding cactoos - Takes has obligation to not bring any 3-rd party dependencies. |
@g4s8 and can you clarify, what exactly an unpredictable behavior is? When Of course, if very same object will be used in two different selects, behavior will be questionable. However, what is your take on this issue? I don't see how I can possibly address that. Maybe, just mentioning in javadoc of the class will be useful? |
I mean that
This |
@g4s8 original task requested to have The whole purpose of having |
@yegor256 ping |
@g4s8 looks like we are reinventing what Cactoos already has, you are right... Maybe we should just let Takes have one dependency on Cactoos? |
@t-izbassar I think you can keep this code, just add a |
@g4s8 done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yegor256 I think it can be merged now
@yegor256 ping |
1 similar comment
@yegor256 ping |
@yegor256 can you merge this one? |
@rultor merge |
@t-izbassar @yegor256 Oops, I failed. You can see the full log here (spent 5min)
|
@yegor256 hi, can you re-trigger this merge as well? Thanks. |
@yegor256 ping for the merge |
@rultor merge |
@elenavolokhova/z please review this job, as in §30; the job will be fully closed and all payments will be made when the quality review is completed |
@g4s8 According to our QA rules
Only two issues were found during review. Also,
This PR has no explanation of the solution proposed. As a code reviewer you should ask PR author to fix such issues too. P.S. I'll need your confirmation on each ticket, where rules are not followed, in order to complete QA review and to motivate you to pay attention to these rules in future :) |
@t-izbassar Please, add some explanation of the solution proposed to the description section. |
@elenavolokhova confirmed.
|
@elenavolokhova sure, I confirm |
@0crat quality acceptable |
@elenavolokhova There is an unrecoverable failure on my side. Please, submit it here:
|
|
@elenavolokhova You can't do that, unless you have one of these roles: |
@0crat status |
@g4s8 This is what I know about this job, as in §32:
|
@yegor256 could you please remove this job from WBS? |
@yegor256 ping |
@0crat out |
PR for #780