Skip to content

Commit fc765f7

Browse files
committed
Fix typos: missing type in method signature
1 parent 3b99338 commit fc765f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

checker-qual/src/main/java/org/checkerframework/checker/index/qual/IndexFor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* <pre>{@code
2121
* class String {
22-
* char charAt(@IndexFor("this") index) { ... }
22+
* char charAt(@IndexFor("this") int index) { ... }
2323
* }
2424
* }</pre>
2525
*

docs/manual/index-checker.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124

125125
\begin{Verbatim}
126126
class String {
127-
char charAt(@IndexFor("this") index) { ... }
127+
char charAt(@IndexFor("this") int index) { ... }
128128
}
129129
\end{Verbatim}
130130

0 commit comments

Comments
 (0)