Skip to content

Commit

Permalink
javadoc fix for #871
Browse files Browse the repository at this point in the history
  • Loading branch information
llorllale committed May 22, 2018
1 parent 995eb06 commit 8684193
Show file tree
Hide file tree
Showing 25 changed files with 51 additions and 37 deletions.
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/And.java
Expand Up @@ -70,7 +70,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/AndInThreads.java
Expand Up @@ -44,7 +44,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/AndWithIndex.java
Expand Up @@ -56,7 +56,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/AvgOf.java
Expand Up @@ -44,7 +44,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/BoolOf.java
Expand Up @@ -35,7 +35,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* @since 0.2
*/
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/Equals.java
Expand Up @@ -33,7 +33,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* @param <T> Type of object to compare
* @since 0.9
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/HighestOf.java
Expand Up @@ -46,7 +46,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/org/cactoos/scalar/IoCheckedScalar.java
Expand Up @@ -27,15 +27,15 @@
import org.cactoos.Scalar;

/**
* Scalar that doesn't throw checked {@link Exception}, but throws
* Scalar that doesn't throw {@link Exception}, but throws
* {@link IOException} instead.
*
* <p>There is no thread-safety guarantee.
*
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* {@link IOException}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator.</p>
*
* @param <T> Type of result
* @since 0.4
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/LowestOf.java
Expand Up @@ -46,7 +46,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/MaxOf.java
Expand Up @@ -40,7 +40,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/MinOf.java
Expand Up @@ -42,7 +42,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* @since 0.24
*/
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/Not.java
Expand Up @@ -33,7 +33,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* @since 0.7
*/
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/NumberOf.java
Expand Up @@ -41,7 +41,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* @since 0.2
*/
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/Or.java
Expand Up @@ -72,7 +72,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* @since 0.8
*/
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/Reduced.java
Expand Up @@ -66,7 +66,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* @param <T> Scalar type
* @since 0.30
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/RetryScalar.java
Expand Up @@ -47,7 +47,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* @param <T> Type of output
* @since 0.9
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/StickyScalar.java
Expand Up @@ -39,7 +39,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* <pre>{@code
* final Scalar<Integer> scalar = new StickyScalar<>(
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/SumOf.java
Expand Up @@ -43,7 +43,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/org/cactoos/scalar/SumOfDoubleScalar.java
Expand Up @@ -35,9 +35,8 @@
* }</pre>
*
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* {@link Exception}. Despite that this class does NOT throw a checked
* exception.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/org/cactoos/scalar/SumOfFloatScalar.java
Expand Up @@ -35,9 +35,8 @@
* }</pre>
*
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* {@link Exception}. Despite that this class does NOT throw a checked
* exception.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/org/cactoos/scalar/SumOfIntScalar.java
Expand Up @@ -36,9 +36,8 @@
* }</pre>
*
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* {@link Exception}. Despite that this class does NOT throw a checked
* exception.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/org/cactoos/scalar/SumOfLongScalar.java
Expand Up @@ -35,9 +35,8 @@
* }</pre>
*
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* {@link Exception}. Despite that this class does NOT throw a checked
* exception.</p>
*
* <p>There is no thread-safety guarantee.
*
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/org/cactoos/scalar/SumOfScalar.java
Expand Up @@ -32,9 +32,8 @@
* Make a scalar which is sum of scalar's values.
*
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* {@link Exception}. Despite that this class does NOT throw a checked
* exception.</p>
*
* <p>There is no thread-safety guarantee.
* <p>Note this class is for internal usage only
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/SyncScalar.java
Expand Up @@ -31,7 +31,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* <pre>{@code
* final List<Integer> list = new LinkedList<>();
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/cactoos/scalar/Ternary.java
Expand Up @@ -34,7 +34,8 @@
* <p>This class implements {@link Scalar}, which throws a checked
* {@link Exception}. This may not be convenient in many cases. To make
* it more convenient and get rid of the checked exception you can
* use {@link UncheckedScalar} or {@link IoCheckedScalar} decorators.</p>
* use the {@link UncheckedScalar} decorator. Or you may use
* {@link IoCheckedScalar} to wrap it in an IOException.</p>
*
* <pre>{@code
* new Ternary<>(
Expand Down

0 comments on commit 8684193

Please sign in to comment.