我得到以下代码:
string match { case Regex(_, "1", "0", _, _) => case Regex(_, "1", "1", null, _) => }
Scalastyle抱怨使用null,这是无法避免的.我能用这条线压制警告吗?
scalastyle
scalastyle ×1