Fixed Bugs found with wrapper collections

-Fixed: AbstractCollection.Iterator was changing the pointer before validating if the element was added. (ImmutableLists)
-Fixed: EmptyCollections containsAll should return true if it is compared against a emptyCollection.
-Fixed: HashCode/Equals for the Lists/Sets implementations.
-Changed: Iterators.wrap(Array) allows now dynamic arrays.
This commit is contained in:
2022-06-02 11:02:19 +02:00
parent 9eb220194f
commit 1e7da394a1
6 changed files with 43 additions and 9 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ repositories {
}
archivesBaseName = 'Primitive Collections'
version = '0.6.2.6-SNAPSHOT';
version = '0.6.2.8-SNAPSHOT';
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaVersion.current();