报告冗余的 asInstanceOf 转换并建议将其移除。
asInstanceOf
如果表达式的类型与转换类型相同,则转换是冗余的。
示例:
"test".asInstanceOf[String]
在应用快速修复后:
"test"