Skip to content

Commit

Permalink
Updates for updated dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
MairwunNx committed Mar 11, 2020
1 parent 010a2fd commit 9b1dfbc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,17 @@ object ConfigurationManager {
private var configuration = ConfigurationModel()
private val logger = LogManager.getLogger()

@UseExperimental(UnstableDefault::class)
@OptIn(UnstableDefault::class)
private val jsonInstance = Json(
JsonConfiguration(
strictMode = false, allowStructuredMapKeys = true, prettyPrint = true
encodeDefaults = true,
ignoreUnknownKeys = true,
isLenient = false,
serializeSpecialFloatingPointValues = false,
allowStructuredMapKeys = true,
prettyPrint = true,
unquotedPrint = false,
useArrayPolymorphism = false
)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ object TeleportRollbackManager {
* Removes all expired timers for position
* rollback.
*/
@UseExperimental(ExperimentalTime::class)
@OptIn(ExperimentalTime::class)
private fun purgeAll() {
logger.debug("Purging all expired location rollback entries")
lastPosition.rowMap().keys.removeAll {
Expand Down

0 comments on commit 9b1dfbc

Please sign in to comment.