Skip to content

Commit

Permalink
Fix javadoc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-costigliola committed Aug 15, 2018
1 parent ce2dcef commit 324ada5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/assertj/core/api/Assertions.java
Original file line number Diff line number Diff line change
Expand Up @@ -1380,6 +1380,7 @@ public static <T> T failBecauseExceptionWasNotThrown(Class<? extends Throwable>
/**
* Throws an {@link AssertionError} with a message explaining that a {@link Throwable} of given class was expected to be thrown
* but had not been.
* @param <T> dummy return value type
* @param throwableClass the Throwable class that was expected to be thrown.
* @return nothing, it's just to be used in doSomething(optional.orElse(() -&gt; shouldHaveThrown(IOException.class)));.
* @throws AssertionError with a message explaining that a {@link Throwable} of given class was expected to be thrown but had
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/org/assertj/core/util/Streams.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public class Streams {
/**
* Returns a sequential {@link Stream} of the contents of {@code iterable}, delegating to {@link
* Collection#stream} if possible.
* @param <T> the stream type
* @param iterable the iterable to built the stream from
* @return the stream built from the given {@link Iterable}
*/
public static <T> Stream<T> stream(Iterable<T> iterable) {
return (iterable instanceof Collection)
Expand Down

0 comments on commit 324ada5

Please sign in to comment.