zendesk / android-db-commons

Some common utilities for ContentProvider/ContentResolver/Cursor and other db-related android stuff
Apache License 2.0
222 stars 28 forks source link

Limit whereIn use to Collections of Numbers #25

Closed chalup closed 10 years ago

chalup commented 10 years ago

whereIn methods work only for collections of numbers or objects with numeric toString representation. The methods were created for the former use case and latter use case is not possible to verify at compile time, so it's reasonable to limit whereIn use only to collections of Numbers.