小编Kir*_*ril的帖子

如何抑制Scalastyle警告?

我得到以下代码:

    string match {
      case Regex(_, "1", "0", _, _)    =>
      case Regex(_, "1", "1", null, _) =>
    }
Run Code Online (Sandbox Code Playgroud)

Scalastyle抱怨使用null,这是无法避免的.我能用这条线压制警告吗?

scalastyle

33
推荐指数
2
解决办法
1万
查看次数

标签 统计

scalastyle ×1