A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/3004 below:

[java] UseEqualsToCompareStrings false positive with PMD 6.30.0 · Issue #3004 · pmd/pmd · GitHub

Rule: errorprone.xml/UseEqualsToCompareStrings

The following code generates a false positive:

  boolean f(String s) {
    return s.charAt(0) == s.charAt(1);
  }

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4