Skip to content

Commit

Permalink
Added map.clean()
Browse files Browse the repository at this point in the history
  • Loading branch information
Minemobs committed Aug 24, 2021
1 parent f549cfc commit 7a03bd0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class MainView : View("Pepite D'or Localization UI") {
val writer = FileWriter(jsonFile, Charsets.UTF_8)
gson.toJson(map.toList().sortedBy { (k, _) -> k }.toMap(), writer)
writer.close()
map.clear()
println("Added \"${key.value}\": \"${translatedString.value}\"")
}
}
Expand Down

0 comments on commit 7a03bd0

Please sign in to comment.