Skip to content

Commit

Permalink
HSEARCH-4578 Fix javadoc in FailureReportUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed May 12, 2022
1 parent 0d81923 commit 4c54165
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -26,7 +26,7 @@ private FailureReportUtils() {
* @param first The first part of the expected context.
* @param others The other parts of the expected context, if any. To be concatenated to the first part.
* @return A consumer representing an assertion to be passed as a parameter to
* {@link org.assertj.core.api.AbstractThrowableAssert#satisfies(Consumer)}.
* {@link org.assertj.core.api.AbstractThrowableAssert#satisfies(Consumer[])}.
*/
public static <T extends Throwable> Consumer<T> hasContext(EventContext first, EventContext... others) {
return hasContext(
Expand All @@ -37,7 +37,7 @@ public static <T extends Throwable> Consumer<T> hasContext(EventContext first, E
/**
* @param contextElements The expect context elements, in order.
* @return A consumer representing an assertion to be passed as a parameter to
* {@link org.assertj.core.api.AbstractThrowableAssert#satisfies(Consumer)}.
* {@link org.assertj.core.api.AbstractThrowableAssert#satisfies(Consumer[])}.
*/
public static <T extends Throwable> Consumer<T> hasContext(EventContextElement... contextElements) {
return throwable -> {
Expand Down

0 comments on commit 4c54165

Please sign in to comment.