Skip to content

Commit

Permalink
Merge pull request #357 from okta/client-builder-doc
Browse files Browse the repository at this point in the history
Fix ClientBuilder javadoc milliseconds -> seconds
  • Loading branch information
arvindkrishnakumar-okta authored May 1, 2020
2 parents 4ddd835 + ce0118e commit 3bd94f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/main/java/com/okta/sdk/client/ClientBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public interface ClientBuilder {
* Sets both the timeout until a connection is established and the socket timeout (i.e. a maximum period of inactivity
* between two consecutive data packets). A timeout value of zero is interpreted as an infinite timeout.
*
* @param timeout connection and socket timeout in milliseconds
* @param timeout connection and socket timeout in seconds
* @return the ClientBuilder instance for method chaining
*/
ClientBuilder setConnectionTimeout(int timeout);
Expand All @@ -384,9 +384,9 @@ public interface ClientBuilder {
ClientBuilder setOrgUrl(String baseUrl);

/**
* Sets the maximum number of milliseconds to wait when retrying before giving up.
* Sets the maximum number of seconds to wait when retrying before giving up.
*
* @param maxElapsed retry max elapsed duration in milliseconds
* @param maxElapsed retry max elapsed duration in seconds
* @return the ClientBuilder instance for method chaining
*/
ClientBuilder setRetryMaxElapsed(int maxElapsed);
Expand Down

0 comments on commit 3bd94f4

Please sign in to comment.