Skip to content

Commit 7b06d89

Browse files
Andrew Kuksovminbi
authored andcommitted
Add millis prefix to seconds in CognitoIdentityProviderClientConfig.
1 parent 8647d5c commit 7b06d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/mobileconnectors/cognitoidentityprovider/util/CognitoIdentityProviderClientConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public final class CognitoIdentityProviderClientConfig {
5050
public static void setRefreshThreshold(long threshold) {
5151
if (threshold > REFRESH_THRESHOLD_MAX || threshold < REFRESH_THRESHOLD_MIN) {
5252
throw new CognitoParameterInvalidException(
53-
String.format("The value of refreshThreshold must between %d and %d seconds",
53+
String.format("The value of refreshThreshold must between %d and %d milli seconds",
5454
REFRESH_THRESHOLD_MIN, REFRESH_THRESHOLD_MAX));
5555
}
5656
refreshThreshold = threshold;

0 commit comments

Comments
 (0)