Subscribed unsubscribe Subscribe Subscribe

Kengo's blog

Technical articles about original projects, JVM, Static Analysis and JavaScript.

Ruleset for SLF4J has been updated

 Today I updated ruleset for SLF4J. There is no enhancement but many fixing.
 ruleset for SLF4Jを更新しました。バグ修正が主な変更となっています。

 The biggest fix is avoiding NullPointerException. Sometimes ASTClassOrInterfaceType#getType() returns null, so we have to use #getImage() to know the type of Field. I used testExcludes option of maven-compiler-plugin to test in this situation.

 You can see code coverages at CloudBees.