Skip to content

Commit

Permalink
yegor256#692 review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedran authored and Vedran committed May 4, 2018
1 parent abf8ec8 commit ee45ae1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/main/java/org/cactoos/scalar/And.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,17 @@
* {@link java.util.stream.Stream#forEach(java.util.function.Consumer)}
* works:</p>
*
* <pre>
* {@code
* new And(
* new ProcOf<>(input -> System.out.printf("\'%s\' ", input) ),
* new IterableOf<>("Mary", "John", "William", "Napkin")
* ).value(); // will print 'Mary' 'John' 'William' 'Napkin' to standard output
* // the result of this operation is always true
* }
* </pre>
*
* <p>This class could be also used for matching multiple boolean
* expressions:</p>
*
* <pre>
* {@code
* new And(
* new True(),
Expand All @@ -65,7 +62,6 @@
* new True()
* ).value(); // the result is false
* }
* </pre>
*
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/org/cactoos/scalar/Or.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,17 @@
* {@link java.util.stream.Stream#forEach(java.util.function.Consumer)}
* works:</p>
*
* <pre>
* {@code
* new Or(
* new ProcOf<>(input -> System.out.printf("\'%s\' ", input) ),
* new IterableOf<>("Mary", "John", "William", "Napkin")
* ).value(); // will print 'Mary' 'John' 'William' 'Napkin' to standard output
* // the result of this operation is always false
* }
* </pre>
*
* <p>This class could be also used for matching multiple boolean
* expressions:</p>
*
* <pre>
* {@code
* new Or(
* new False(),
Expand All @@ -66,7 +63,6 @@
* new False()
* ).value(); // the result is false
* }
* </pre>
*
* <p>There is no thread-safety guarantee.
*
Expand Down

0 comments on commit ee45ae1

Please sign in to comment.