Skip to content

Commit

Permalink
Improve Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
scordio committed May 5, 2024
1 parent fd7e4d3 commit 1b169a2
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Class<T> getRawClass() {
/**
* Creates the custom {@link Assert} instance for the given value.
* <p>
* The factory casts the value to the expected type before invoking the
* delegate.
* Before invoking the delegate, the factory casts the value to the raw
* {@link Class} defined during instantiation.
*
* @param actual the input value for the {@code Assert} instance
* @return the custom {@code Assert} instance for the given value
Expand All @@ -90,9 +90,9 @@ public ASSERT createAssert(Object actual) {
* This is typically used by custom assertions that want to leverage existing
* factories and need to manipulate the value upfront.
* <p>
* This implementation requests a value compatible with the {@link Class} or
* {@link Type} defined during instantiation and casts the provided value
* to it before invoking the delegate.
* This implementation requests a value compatible with the {@link Type}
* defined during instantiation and casts the provided value to the
* corresponding raw {@link Class} before invoking the delegate.
*
* @param valueProvider the value provider for the {@code Assert} instance
* @return the custom {@code Assert} instance for the provided value
Expand Down

0 comments on commit 1b169a2

Please sign in to comment.