Closed GoogleCodeExporter closed 9 years ago
I think this is intentional... unlike checkArgument and checkNotNull,
checkElementIndex and checkPositionIndex already use specific message formats
since they check conditions they know how to describe. The "desc" field is just
there to allow you to replace "index" with something else in the error messages
rather than for formatting a full message. I imagine it wouldn't be very useful
to be able to use a format and args in the replacement for "index".
Original comment by cgdec...@gmail.com
on 21 Jan 2011 at 6:01
What he said. Thanks for the report.
Original comment by kevinb@google.com
on 22 Jan 2011 at 7:00
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:15
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:09
Original issue reported on code.google.com by
kua...@gmail.com
on 21 Jan 2011 at 9:51