[slf4j-dev] [JIRA] Updates for SLF4J-259: Several Type-o's in SLF4j FAQ page

QOS.CH (JIRA) noreply-jira at qos.ch
Fri Nov 18 09:03:00 CET 2022


SLF4J / SLF4J-259 [Open]
Several Type-o's in SLF4j FAQ page

==============================

Here's what changed in this issue in the last few minutes.

There is 1 comment.

View or comment on issue using this link
https://jira.qos.ch/browse/SLF4J-259

==============================
 1 comment
------------------------------

Michael Litwak on 18/Nov/22 8:50 AM
Also, at the bottom of the SLF4J FAQ at [https://www.slf4j.org/faq.html#declaration_pattern]

there are a couple places where the sample code shows:
 
*final static Logger logger = LoggerFactory.getLogger(...*

But according to [https://rules.sonarsource.com/java/tag/convention/RSPEC-1124,] the *static* keyword should come before *final*:
 
*static final Logger logger = LoggerFactory.getLogger(...*


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)



More information about the slf4j-dev mailing list