Clean up kotlin code

* static imports
* less nullable types
* format
This commit is contained in:
Quentin Hibon
2021-01-18 16:11:52 +01:00
parent 9d0fbb9ea9
commit dedeb13f46
106 changed files with 982 additions and 1287 deletions

View File

@@ -19,8 +19,7 @@
package org.isoron.uhabits.sync.links
import org.isoron.uhabits.sync.*
import java.time.*
import org.isoron.uhabits.sync.defaultMapper
/**
* A Link maps a public URL (such as https://sync.loophabits.org/links/B752A6)

View File

@@ -19,8 +19,8 @@
package org.isoron.uhabits.sync.repository
import com.sun.org.apache.xpath.internal.operations.*
import org.isoron.uhabits.sync.*
import org.isoron.uhabits.sync.KeyNotFoundException
import org.isoron.uhabits.sync.SyncData
/**
* A class that knows how to store and retrieve a large number of [SyncData] items.