From 6a57acc94030f22566cf0ffd2465ffa6706106b8 Mon Sep 17 00:00:00 2001 From: Jon Chambers Date: Sun, 1 Apr 2018 13:02:04 -0400 Subject: [PATCH] Fixed a typo in the docs. --- .../com/eatthepath/otp/TimeBasedOneTimePasswordGenerator.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/eatthepath/otp/TimeBasedOneTimePasswordGenerator.java b/src/main/java/com/eatthepath/otp/TimeBasedOneTimePasswordGenerator.java index 6ec6ad2..ad3f8ba 100644 --- a/src/main/java/com/eatthepath/otp/TimeBasedOneTimePasswordGenerator.java +++ b/src/main/java/com/eatthepath/otp/TimeBasedOneTimePasswordGenerator.java @@ -115,8 +115,7 @@ public TimeBasedOneTimePasswordGenerator(final long timeStep, final TimeUnit tim * {@value com.eatthepath.otp.TimeBasedOneTimePasswordGenerator#TOTP_ALGORITHM_HMAC_SHA256}, and * {@value com.eatthepath.otp.TimeBasedOneTimePasswordGenerator#TOTP_ALGORITHM_HMAC_SHA512} * - * @throws NoSuchAlgorithmException if the underlying JRE doesn't support HMAC-SHA1, which should never happen - * except in cases of serious misconfiguration + * @throws NoSuchAlgorithmException if the underlying JRE doesn't support the given algorithm * * @see com.eatthepath.otp.TimeBasedOneTimePasswordGenerator#TOTP_ALGORITHM_HMAC_SHA1 * @see com.eatthepath.otp.TimeBasedOneTimePasswordGenerator#TOTP_ALGORITHM_HMAC_SHA256