mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-29 22:27:31 +00:00
style(extension): 补充文档并修正代码规范问题.
去除多余的空格, 并在文档中建议使用 FinderPriority 中定义的优先级.
This commit is contained in:
parent
c5e5b1c303
commit
2c9e727ecd
@ -509,6 +509,7 @@ internal class ExtensionClassLoader(vararg urls: URL) :
|
|||||||
/**
|
/**
|
||||||
* 搜索器规则.
|
* 搜索器规则.
|
||||||
* @property priority 搜索器优先级. 优先级从 0 (最高)开始, 相同构件坐标下将使用优先级最高的搜索器所找到的文件.
|
* @property priority 搜索器优先级. 优先级从 0 (最高)开始, 相同构件坐标下将使用优先级最高的搜索器所找到的文件.
|
||||||
|
* 如无特殊需求, 建议使用 [FinderPriority] 中已定义好的优先级.
|
||||||
*/
|
*/
|
||||||
annotation class FinderRules(
|
annotation class FinderRules(
|
||||||
val priority: Int
|
val priority: Int
|
||||||
|
Loading…
Reference in New Issue
Block a user