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)
Coverage increased (+0.03%) to 90.261% when pulling 87b9b491e7139a494c3bd6d5415ef2f5cde802d4 on lanusau:develop into 35dd0542f8ae61908281453a6a56d545e7945a2f on RutledgePaulV:develop.
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)