You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在使用SonarQube检查使用Jmockit进行单元测试的Java代码时, 报出了一个Code Smell和一个Bug, 分别是:squid:S1171(Only static class initializers should be used)和squid:S3599(Double Brace Initialization should not be used), 原因是使用了Jmockit的录制功能:
在使用
SonarQube
检查使用Jmockit
进行单元测试的Java代码时, 报出了一个Code Smell和一个Bug, 分别是:squid:S1171(Only static class initializers should be used)
和squid:S3599(Double Brace Initialization should not be used)
, 原因是使用了Jmockit
的录制功能:搜索了一下
Double Brace Initialization
, 记录在此.参考: Java:Double Brace Initialization
The text was updated successfully, but these errors were encountered: