Skip to content

Bugfix: Java7 support, SLF4J_FORMAT_SHOULD_BE_CONST should support private method call

Compare
Choose a tag to compare
@KengoTODA KengoTODA released this 13 Sep 04:31
· 378 commits to master since this release

Change set

  • Downgrade Java to 7, to support Java 7 users (issue #33)
  • SLF4J_FORMAT_SHOULD_BE_CONST should trace caller, to stop warning if all callers use constant value (issue #35)

How to use with Maven

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>3.0.1</version>
        <configuration>
          <plugins>
            <plugin>
              <groupId>jp.skypencil.findbugs.slf4j</groupId>
              <artifactId>bug-pattern</artifactId>
              <version>1.2.1</version>
            </plugin>
          </plugins>
        </configuration>
      </plugin>