以下に示すように、slf4jでいくつかのコードを見ました。ここで一定の折りたたみを避ける理由がわかりません。そうする必要がありますか?または単にベストプラクティス。これを行う利点は何ですか?
ありがとう。
/**
* Declare the version of the SLF4J API this implementation is compiled against.
* The value of this field is usually modified with each release.
*/
// to avoid constant folding by the compiler, this field must *not* be final
public static String REQUESTED_API_VERSION = "1.6"; // !final**