Skip to content

Commit b53d614

Browse files
google-java-format TeamEddie Aftandilian
authored andcommitted
Minor Javadoc improvement.
PiperOrigin-RevId: 309329483
1 parent e19b763 commit b53d614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/google/googlejavaformat/java/JavaInput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ private static boolean isParamComment(Tok tok) {
562562
* @param offset the {@code 0}-based offset in characters
563563
* @param length the length in characters
564564
* @return the {@code 0}-based {@link Range} of tokens
565-
* @throws FormatterException
565+
* @throws FormatterException if offset + length is outside the file
566566
*/
567567
Range<Integer> characterRangeToTokenRange(int offset, int length) throws FormatterException {
568568
int requiredLength = offset + length;

0 commit comments

Comments
 (0)