From 9049926a8387b61e0c5101639e65d6701e433c44 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Thu, 15 Jun 2023 21:28:53 +0200 Subject: [PATCH] Added getTrackedDataIterator --- .../java/fr/altarik/toolbox/core/data/DataTracker.java | 9 +++------ gradle.properties | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Core/src/main/java/fr/altarik/toolbox/core/data/DataTracker.java b/Core/src/main/java/fr/altarik/toolbox/core/data/DataTracker.java index aa9bcb9..b5e0099 100644 --- a/Core/src/main/java/fr/altarik/toolbox/core/data/DataTracker.java +++ b/Core/src/main/java/fr/altarik/toolbox/core/data/DataTracker.java @@ -1,8 +1,6 @@ package fr.altarik.toolbox.core.data; -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; +import java.util.*; public class DataTracker { @@ -30,8 +28,7 @@ public class DataTracker { } - public void saveToDb() { - + public Iterator getTrackedDataIterator() { + return trackedData.keySet().iterator(); } - } diff --git a/gradle.properties b/gradle.properties index fcb90ff..c093845 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,5 +8,5 @@ loader_version=0.14.14 fabric_version=0.75.1+1.19.3 maven_group=fr.altarik.toolbox -maven_version=4.1.1-SNAPSHOT +maven_version=4.2.0-SNAPSHOT repo_username=Altarik