Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up some minor grammatical errors #89

Merged
merged 1 commit into from
Sep 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

# Setup the version of Java
# Set up the version of Java
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/kiwiproject/retry/Attempt.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public boolean hasException() {
/**
* Gets the result of the call
*
* @return the result of the call (may be {@code null})
* @return the result of the call (can be {@code null})
* @throws IllegalStateException if the call didn't return a result, but threw an exception,
* as indicated by {@link #hasResult()}
*/
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/kiwiproject/retry/RetryerBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ public RetryerBuilder retryIfRuntimeException() {
}

/**
* Configures the retryer to retry if an exception of the given class (or subclass of the given class) is
* thrown by the call.
* Configures the retryer to retry if an exception is thrown by the call and the thrown exception's type
* is the given class (or a subclass of the given class).
*
* @param exceptionClass the type of the exception which should cause the retryer to retry
* @return <code>this</code>
Expand Down