Skip to content

Commit 6a57acc

Browse files
committed
Fixed a typo in the docs.
1 parent ec22ae9 commit 6a57acc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/eatthepath/otp/TimeBasedOneTimePasswordGenerator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ public TimeBasedOneTimePasswordGenerator(final long timeStep, final TimeUnit tim
115115
* {@value com.eatthepath.otp.TimeBasedOneTimePasswordGenerator#TOTP_ALGORITHM_HMAC_SHA256}, and
116116
* {@value com.eatthepath.otp.TimeBasedOneTimePasswordGenerator#TOTP_ALGORITHM_HMAC_SHA512}
117117
*
118-
* @throws NoSuchAlgorithmException if the underlying JRE doesn't support HMAC-SHA1, which should never happen
119-
* except in cases of serious misconfiguration
118+
* @throws NoSuchAlgorithmException if the underlying JRE doesn't support the given algorithm
120119
*
121120
* @see com.eatthepath.otp.TimeBasedOneTimePasswordGenerator#TOTP_ALGORITHM_HMAC_SHA1
122121
* @see com.eatthepath.otp.TimeBasedOneTimePasswordGenerator#TOTP_ALGORITHM_HMAC_SHA256

0 commit comments

Comments
 (0)