findbugs-slf4j icon indicating copy to clipboard operation
findbugs-slf4j copied to clipboard

SLF4J_FORMAT_SHOULD_BE_CONST - false positive?

Open koalalam opened this issue 4 years ago • 0 comments

  • Gradle version

    • 6.7.1
  • Spotbugs version

    • 4.6.0
  • findbugs-slf4j version

    • 1.5.0
  • Java version

    • java version "11.0.8.0.2" 2020-07-09 LTS
    • Java(TM) SE Runtime Environment 18.9 (build 11.0.8.0.2+1-LTS)
    • Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.8.0.2+1-LTS, mixed mode)
  • Test case

    • LOGGER.warn( booleanAttr ? "constant1" : "constant2" );

koalalam avatar Jan 11 '21 04:01 koalalam