Skip to content

Commit 9d85a41

Browse files
committed
Trivial Javadoc clarifications.
1 parent a0ed758 commit 9d85a41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ protected HmacOneTimePasswordGenerator(final int passwordLength, final String al
123123
/**
124124
* Generates a one-time password using the given key and counter value.
125125
*
126-
* @param key a secret key to be used to generate the password
127-
* @param counter the counter value to be used to generate the password
126+
* @param key the key to be used to generate the password
127+
* @param counter the counter value for which to generate the password
128128
*
129129
* @return an integer representation of a one-time password; callers will need to format the password for display
130130
* on their own

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public TimeBasedOneTimePasswordGenerator(final Duration timeStep, final int pass
130130
/**
131131
* Generates a one-time password using the given key and timestamp.
132132
*
133-
* @param key a secret key to be used to generate the password
133+
* @param key the key to be used to generate the password
134134
* @param timestamp the timestamp for which to generate the password
135135
*
136136
* @return an integer representation of a one-time password; callers will need to format the password for display

0 commit comments

Comments
 (0)