We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb59fbf commit 6d3acdeCopy full SHA for 6d3acde
core/java/android/database/AbstractCursor.java
@@ -204,7 +204,7 @@ public final boolean moveToPosition(int position) {
204
* @param window
205
*/
206
public void fillWindow(int position, CursorWindow window) {
207
- if (position < 0 || position > getCount()) {
+ if (position < 0 || position >= getCount()) {
208
return;
209
}
210
window.acquireReference();
0 commit comments