srctree

Robin Linden parent 2b0477d2 d3a7ef2e
Tell detekt not to warn on empty overridden methods

inlinesplit
atox/src/androidTest/kotlin/IntegrationTest.kt added: 10, removed: 12, total 0
@@ -53,9 +53,7 @@ class InjectedActivityTestRule<T : Activity>(
class FakeSaveManager : SaveManager {
override fun list(): List<String> = listOf()
override fun load(pk: PublicKey): ByteArray? = null
override fun save(pk: PublicKey, saveData: ByteArray) {
// Do nothing.
}
override fun save(pk: PublicKey, saveData: ByteArray) {}
}
 
@Module
 
detekt.yml added: 10, removed: 12, total 0
@@ -1,3 +1,7 @@
naming:
InvalidPackageDeclaration:
active: false
 
empty-blocks:
EmptyFunctionBlock:
ignoreOverridden: true
 
domain/src/androidTest/kotlin/tox/ToxTest.kt added: 10, removed: 12, total 0
@@ -19,17 +19,13 @@ import org.junit.runner.RunWith
 
class FakeBootstrapNodeRegistry : BootstrapNodeRegistry {
override fun get(n: Int): List<BootstrapNode> = listOf()
override fun reset() {
// Do nothing.
}
override fun reset() {}
}
 
class FakeSaveManager : SaveManager {
override fun list(): List<String> = listOf()
override fun load(pk: PublicKey): ByteArray? = null
override fun save(pk: PublicKey, saveData: ByteArray) {
// Do nothing.
}
override fun save(pk: PublicKey, saveData: ByteArray) {}
}
 
@RunWith(AndroidJUnit4::class)