BaseFinder: remove explicit type cast (#99)

This commit is contained in:
sorrw.
2025-04-07 11:31:05 +08:00
committed by GitHub
parent 34a701a83c
commit 54c4379e97

View File

@@ -106,7 +106,7 @@ abstract class BaseFinder {
is String -> runCatching { toClass(loader) }.getOrNull() ?: UndefinedType
is VariousClass -> runCatching { get(loader) }.getOrNull() ?: UndefinedType
else -> error("$tag match type \"$javaClass\" not allowed")
} as Class<*>?
}
/**
* 返回结果实现类