mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-06 02:35:40 +08:00
BaseFinder: remove explicit type cast (#99)
This commit is contained in:
@@ -106,7 +106,7 @@ abstract class BaseFinder {
|
|||||||
is String -> runCatching { toClass(loader) }.getOrNull() ?: UndefinedType
|
is String -> runCatching { toClass(loader) }.getOrNull() ?: UndefinedType
|
||||||
is VariousClass -> runCatching { get(loader) }.getOrNull() ?: UndefinedType
|
is VariousClass -> runCatching { get(loader) }.getOrNull() ?: UndefinedType
|
||||||
else -> error("$tag match type \"$javaClass\" not allowed")
|
else -> error("$tag match type \"$javaClass\" not allowed")
|
||||||
} as Class<*>?
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 返回结果实现类
|
* 返回结果实现类
|
||||||
|
Reference in New Issue
Block a user