-
Notifications
You must be signed in to change notification settings - Fork 170
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
#692 And/Or javadoc #817
#692 And/Or javadoc #817
Conversation
Job #817 is now in scope, role is |
This pull request #817 is assigned to @krzyk/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @llorllale/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer |
Codecov Report
@@ Coverage Diff @@
## master #817 +/- ##
============================================
+ Coverage 83.58% 84.24% +0.65%
- Complexity 1321 1363 +42
============================================
Files 240 248 +8
Lines 3589 3681 +92
Branches 210 214 +4
============================================
+ Hits 3000 3101 +101
+ Misses 542 532 -10
- Partials 47 48 +1
Continue to review full report at Codecov.
|
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.
@Vatavuk please see my comment
* | ||
* <pre> | ||
* new Or( | ||
* new ProcOf<>(input -> System.out.printf("\'%s\' ", input) ), |
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.
@Vatavuk You can't use <
or >
inside javadoc without some kind of escaping, either <
and >
or preferably replace the <pre>...</pre>
with {@code ...}
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.
@Vatavuk almost there :), please see my 2 comments
* {@link java.util.stream.Stream#forEach(java.util.function.Consumer)} | ||
* works:</p> | ||
* | ||
* <pre> |
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.
@Vatavuk pre now should be removed ({@code }
already uses code font)
* <p>This class could be also used for matching multiple boolean | ||
* expressions:</p> | ||
* | ||
* <pre> |
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.
@Vatavuk and here also, <pre></pre>
should be removed
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.
@Vatavuk looks good
@llorllale ready to merge |
@llorllale ping |
* // the result of this operation is always true | ||
* } | ||
* | ||
* <p>This class could be also used for matching multiple boolean |
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.
@Vatavuk could you also please add a note somewhere that And performs a short-circuit evaluation?
* // the result of this operation is always false | ||
* } | ||
* | ||
* <p>This class could be also used for matching multiple boolean |
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.
@Vatavuk could you also please add a note somewhere that Or performs a short-circuit evaluation?
@Vatavuk two minor observations and we're good, see above |
@llorllale fixed in f774130 |
@rultor merge |
@llorllale OK, I'll try to merge now. You can check the progress of the merge here |
@Vatavuk @llorllale Oops, I failed. You can see the full log here (spent 5min)
|
@llorllale Can you please merge again, it seems that we have also a problem with stability of |
@Vatavuk you're right. Please open a bug |
@rultor merge |
@llorllale OK, I'll try to merge now. You can check the progress of the merge here |
@llorllale Done! FYI, the full log is here (took me 16min) |
@elenavolokhova/z please review this job completed by @krzyk/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed |
The job #817 is now out of scope |
Payment to |
@0crat quality good |
Quality review completed: +8 point(s) just awarded to @elenavolokhova/z |
Expanded javadoc for And/Or/AndInThreads for #692
I've updated
And
andOr
javadoc and added a link toAndInThreads
which refers toAnd
javadoc examples.