From ce0118eaeb8527cadef6f54d1cda2c895424b4f9 Mon Sep 17 00:00:00 2001 From: Brian Demers Date: Mon, 6 Apr 2020 11:45:22 -0400 Subject: [PATCH] Fix ClientBuilder javadoc milliseconds -> seconds Correct Javadoc in ClientBuilder Fixes: #356 --- api/src/main/java/com/okta/sdk/client/ClientBuilder.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/main/java/com/okta/sdk/client/ClientBuilder.java b/api/src/main/java/com/okta/sdk/client/ClientBuilder.java index 58d254c50cd..b9cffc1e072 100644 --- a/api/src/main/java/com/okta/sdk/client/ClientBuilder.java +++ b/api/src/main/java/com/okta/sdk/client/ClientBuilder.java @@ -313,7 +313,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); @@ -331,9 +331,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);