RutledgePaulV / q-builders

Type safe database agnostic query builders.
MIT License
55 stars 26 forks source link

Arrays.asList returns Arrays.ArrayList which does not allow addAll #21

Closed lanusau closed 7 years ago

lanusau commented 7 years ago

Arrays.asList returns Arrays.ArrayList , not java.util.ArrayList and it throws java.lang.UnsupportedOperationException when calling addAll: Exception in thread "main" java.lang.UnsupportedOperationException at java.util.AbstractList.add(AbstractList.java:148) at java.util.AbstractList.add(AbstractList.java:108) at java.util.AbstractCollection.addAll(AbstractCollection.java:344) at com.github.rutledgepaulv.qbuilders.builders.QBuilder.and(QBuilder.java:103)

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.03%) to 90.261% when pulling 87b9b491e7139a494c3bd6d5415ef2f5cde802d4 on lanusau:develop into 35dd0542f8ae61908281453a6a56d545e7945a2f on RutledgePaulV:develop.

RutledgePaulV commented 7 years ago

Thanks! This should now be available in version 1.6