Skip to content

Commit

Permalink
Fix getToken(int k) javadoc to clarify that k is the Tok, not Token, …
Browse files Browse the repository at this point in the history
…index.

Now it's consistent with the comment on kToToken

PiperOrigin-RevId: 365156881
  • Loading branch information
csamak authored and google-java-format Team committed Mar 26, 2021
1 parent 6da736d commit cc7bd81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/com/google/googlejavaformat/Input.java
Expand Up @@ -121,7 +121,7 @@ public interface Token {
/**
* Get the Token by index.
*
* @param k the token index
* @param k the Tok index
*/
public abstract Token getToken(int k);

Expand Down
Expand Up @@ -604,7 +604,7 @@ public int getkN() {
/**
* Get the Token by index.
*
* @param k the token index
* @param k the Tok index
*/
@Override
public Token getToken(int k) {
Expand Down

0 comments on commit cc7bd81

Please sign in to comment.