We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我们的自动化缺陷检测工具扫描 mdrill的源代码,发现了一个严重的bug:
路径:adhoc-internal/src/main/java/org/jfree/ui/SerialDateChooserPanel.java
adhoc-internal/src/main/java/org/jfree/ui/SerialDateChooserPanel.java
代码片段:
protected Color getButtonColor(final SerialDate targetDate) { ... if (this.date.equals(this.date)) { return this.dateButtonColor; } ... }
上述代码片段中的if语句的condition一直是true, 建议修改为:
if
true
if (targetDate.equals(this.date)) { return this.dateButtonColor; }
The text was updated successfully, but these errors were encountered:
fix bug: if语句中的condition恒为true (SameObjEquals) alibaba#89
3bd2ea6
No branches or pull requests
我们的自动化缺陷检测工具扫描 mdrill的源代码,发现了一个严重的bug:
路径:
adhoc-internal/src/main/java/org/jfree/ui/SerialDateChooserPanel.java
代码片段:
上述代码片段中的
if
语句的condition一直是true
, 建议修改为:The text was updated successfully, but these errors were encountered: