Closed 360matt closed 3 years ago
Hey, thanks for reporting this, you are absolutely right about the getJsonFromMap method, I will correct that! The writer is being closed by the @Cleanup annotation from lombok.
Regards, Leonhard
Done, thanks again for the feedback!
I have found a little bug:
In de.leonhard.storage.Json at method write() : The writer was not closed.
And, In de.leonhard.storage.util.JsonUtils at getJsonFromMap() : Use Map.Entry (one time loop) instead of KeySet (loop + find)