Eliminate any traces of Java in app

This commit is contained in:
topjohnwu
2019-08-08 00:59:23 -07:00
parent 48395ba860
commit f2494374f8
14 changed files with 182 additions and 212 deletions
@@ -20,7 +20,6 @@ object ClassMap {
SuRequestActivity::class.java to a.m::class.java
)
@JvmStatic
operator fun <T : Class<*>>get(c: Class<*>): T {
return map.getOrElse(c) { throw IllegalArgumentException() } as T
}