Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public int getPointerIndex(long id) {
// id 0 is reserved for mouse events
int localId = nextUnusedLocalId();
if (localId == -1) {
throw new AssertionError("pointers.size() < maxFingers implies that a local id is available");
throw new AssertionError("All local ids are in use (pointers.size() == MAX_POINTERS)");
}
Pointer pointer = new Pointer(id, localId);
pointers.add(pointer);
Expand Down