From 8618c10d0140bb65c8ae74aaa77a77f13a7df864 Mon Sep 17 00:00:00 2001 From: Speiger Date: Thu, 24 Jun 2021 20:58:17 +0200 Subject: [PATCH] Fixed a crash with Map.put --- Changelog.md | 3 +++ build.gradle | 2 +- .../templates/maps/abstracts/AbstractMap.template | 8 ++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index a0cad17..9f641f4 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,9 @@ # Changelog of versions +### Version 0.3.2 +- Fixed: Map.put wasn't referring to primitive variants. + ### Version 0.3.1 - Fixed: containsKey & containsValue in HashMaps were deprecated for Object Variants. - Fixed: HashMap wasn't deleting Keys & Values references when removing a Object diff --git a/build.gradle b/build.gradle index 54bd3c6..10ec707 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ repositories { } archivesBaseName = 'Primitive Collections' -version = '0.3.1'; +version = '0.3.2-SNAPSHOT'; sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' diff --git a/src/builder/resources/speiger/assets/collections/templates/maps/abstracts/AbstractMap.template b/src/builder/resources/speiger/assets/collections/templates/maps/abstracts/AbstractMap.template index 3f03bbd..f9c92c0 100644 --- a/src/builder/resources/speiger/assets/collections/templates/maps/abstracts/AbstractMap.template +++ b/src/builder/resources/speiger/assets/collections/templates/maps/abstracts/AbstractMap.template @@ -46,6 +46,14 @@ public abstract class ABSTRACT_MAP KEY_VALUE_GENERIC_TYPE extends AbstractMap