Skip to content

Commit

Permalink
fix charseq anno
Browse files Browse the repository at this point in the history
  • Loading branch information
kelloggm committed Oct 10, 2017
1 parent 34667f2 commit f49f563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checker/jdk/index/src/java/lang/CharSequence.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public interface CharSequence {
* if <tt>end</tt> is greater than <tt>length()</tt>,
* or if <tt>start</tt> is greater than <tt>end</tt>
*/
CharSequence subSequence(@IndexOrHigh("this") int start, @IndexOrHigh("this") int end);
CharSequence subSequence(@IndexFor("this") int start, @IndexOrHigh("this") int end);

/**
* Returns a string containing the characters in this sequence in the same
Expand Down

0 comments on commit f49f563

Please sign in to comment.