[slf4j-dev] [qos-ch/slf4j] 6e784e: minor code cleanups

Ceki Gulcu noreply at github.com
Mon Aug 30 17:06:02 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/qos-ch/slf4j
  Commit: 6e784e4ca3a5ae9c5dc421fcd01a417af5bf5ace
      https://github.com/qos-ch/slf4j/commit/6e784e4ca3a5ae9c5dc421fcd01a417af5bf5ace
  Author: Davide Angelocola <davide.angelocola at gmail.com>
  Date:   2021-08-29 (Sun, 29 Aug 2021)

  Changed paths:
    M jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLocationAwareLog.java
    M jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLog.java
    M jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLogFactory.java
    M jul-to-slf4j/src/main/java/org/slf4j/bridge/SLF4JBridgeHandler.java
    M log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java
    M log4j-over-slf4j/src/main/java/org/apache/log4j/Log4jLoggerFactory.java
    M slf4j-api/src/main/java/org/slf4j/LoggerFactory.java
    M slf4j-api/src/main/java/org/slf4j/helpers/BasicMDCAdapter.java
    M slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java
    M slf4j-api/src/main/java/org/slf4j/helpers/FormattingTuple.java
    M slf4j-api/src/main/java/org/slf4j/helpers/NOP_FallbackServiceProvider.java
    M slf4j-api/src/main/java/org/slf4j/helpers/SubstituteLogger.java
    M slf4j-api/src/main/java/org/slf4j/helpers/SubstituteServiceProvider.java
    M slf4j-api/src/main/java/org/slf4j/spi/CallerBoundaryAware.java
    M slf4j-api/src/main/java/org/slf4j/spi/SLF4JServiceProvider.java
    M slf4j-api/src/test/java/org/slf4j/LoggerAccessingThread.java
    M slf4j-api/src/test/java/org/slf4j/helpers/SubstituteLoggerFactoryTest.java
    M slf4j-ext/src/main/java/org/slf4j/instrumentation/LogTransformer.java
    M slf4j-ext/src/test/java/org/slf4j/profiler/SortAndPruneComposites.java
    R slf4j-jdk-platform-logging/src/main/java/org/slf4j/jdk/platform/logging/SLF4JPlarformLogger.java
    M slf4j-jdk-platform-logging/src/main/java/org/slf4j/jdk/platform/logging/SLF4JPlarformLoggerFactory.java
    A slf4j-jdk-platform-logging/src/main/java/org/slf4j/jdk/platform/logging/SLF4JPlatformLogger.java
    M slf4j-jdk-platform-logging/src/main/java/org/slf4j/jdk/platform/logging/SLF4JSystemLoggerFinder.java
    M slf4j-jdk14/src/main/java/org/slf4j/jul/JDK14LoggerAdapter.java
    M slf4j-jdk14/src/test/java/org/slf4j/issue/LoggerSerializationTest.java
    M slf4j-log4j12/src/test/java/org/slf4j/log4j12/MDCFriendTest.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/internal/MigratorFrame.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/line/JCLRuleSet.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/line/JULRuleSet.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/line/Log4jRuleSet.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/line/MultiGroupConversionRule.java
    M slf4j-migrator/src/test/java/org/slf4j/migrator/helper/RandomHelper.java
    M slf4j-migrator/src/test/java/org/slf4j/migrator/line/TrivialMatcher.java
    M slf4j-nop/src/main/java/org/slf4j/nop/NOPServiceProvider.java
    M slf4j-nop/src/test/java/org/slf4j/nop/MultithreadedInitializationTest.java
    M slf4j-simple/src/main/java/org/slf4j/simple/SimpleLogger.java
    M slf4j-simple/src/main/java/org/slf4j/simple/SimpleLoggerConfiguration.java
    M slf4j-simple/src/test/java/org/slf4j/simple/multiThreadedExecution/MultithereadedExecutionTest.java
    M slf4j-site/src/site/pages/news.html

  Log Message:
  -----------
  minor code cleanups

- more private final fields
- avoiding C-style array declarations
- few typos, notably JPlarformLogger -> JPlatformLogger

Signed-off-by: Davide Angelocola <davide.angelocola at gmail.com>


  Commit: f8bb0da47b6a4dadfef7c79a8202bee6c4e99f4f
      https://github.com/qos-ch/slf4j/commit/f8bb0da47b6a4dadfef7c79a8202bee6c4e99f4f
  Author: Ceki Gulcu <ceki at qos.ch>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    M slf4j-jdk-platform-logging/src/main/resources/META-INF/services/java.lang.System$LoggerFinder
    R slf4j-jdk-platform-logging/src/test/java/org/slf4j/jdk/platform/logging/SLF4JPlatformLoggingTest.java
    R slf4j-jdk-platform-logging/src/test/java/org/slf4j/jdk/platform/logging/StringPrintStream.java
    A slf4j-jdk-platform-logging/src/test/java/org/slf4j/jdk/platform/logging/test/SLF4JPlatformLoggingTest.java
    A slf4j-jdk-platform-logging/src/test/java/org/slf4j/jdk/platform/logging/test/StringPrintStream.java
    M slf4j-site/src/site/pages/faq.html

  Log Message:
  -----------
  Merge branch 'master' into master


  Commit: 43bcc961a28dda90140d3cdae5324dfddf46cec9
      https://github.com/qos-ch/slf4j/commit/43bcc961a28dda90140d3cdae5324dfddf46cec9
  Author: Ceki Gulcu <ceki at qos.ch>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    M jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLocationAwareLog.java
    M jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLog.java
    M jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLogFactory.java
    M jul-to-slf4j/src/main/java/org/slf4j/bridge/SLF4JBridgeHandler.java
    M log4j-over-slf4j/src/main/java/org/apache/log4j/Category.java
    M log4j-over-slf4j/src/main/java/org/apache/log4j/Log4jLoggerFactory.java
    M slf4j-api/src/main/java/org/slf4j/LoggerFactory.java
    M slf4j-api/src/main/java/org/slf4j/helpers/BasicMDCAdapter.java
    M slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java
    M slf4j-api/src/main/java/org/slf4j/helpers/FormattingTuple.java
    M slf4j-api/src/main/java/org/slf4j/helpers/NOP_FallbackServiceProvider.java
    M slf4j-api/src/main/java/org/slf4j/helpers/SubstituteLogger.java
    M slf4j-api/src/main/java/org/slf4j/helpers/SubstituteServiceProvider.java
    M slf4j-api/src/main/java/org/slf4j/spi/CallerBoundaryAware.java
    M slf4j-api/src/main/java/org/slf4j/spi/SLF4JServiceProvider.java
    M slf4j-api/src/test/java/org/slf4j/LoggerAccessingThread.java
    M slf4j-api/src/test/java/org/slf4j/helpers/SubstituteLoggerFactoryTest.java
    M slf4j-ext/src/main/java/org/slf4j/instrumentation/LogTransformer.java
    M slf4j-ext/src/test/java/org/slf4j/profiler/SortAndPruneComposites.java
    M slf4j-jdk-platform-logging/src/main/java/org/slf4j/jdk/platform/logging/SLF4JPlatformLogger.java
    M slf4j-jdk-platform-logging/src/main/java/org/slf4j/jdk/platform/logging/SLF4JSystemLoggerFinder.java
    M slf4j-jdk14/src/main/java/org/slf4j/jul/JDK14LoggerAdapter.java
    M slf4j-jdk14/src/test/java/org/slf4j/issue/LoggerSerializationTest.java
    M slf4j-log4j12/src/test/java/org/slf4j/log4j12/MDCFriendTest.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/internal/MigratorFrame.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/line/JCLRuleSet.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/line/JULRuleSet.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/line/Log4jRuleSet.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/line/MultiGroupConversionRule.java
    M slf4j-migrator/src/test/java/org/slf4j/migrator/helper/RandomHelper.java
    M slf4j-migrator/src/test/java/org/slf4j/migrator/line/TrivialMatcher.java
    M slf4j-nop/src/main/java/org/slf4j/nop/NOPServiceProvider.java
    M slf4j-nop/src/test/java/org/slf4j/nop/MultithreadedInitializationTest.java
    M slf4j-simple/src/main/java/org/slf4j/simple/SimpleLogger.java
    M slf4j-simple/src/main/java/org/slf4j/simple/SimpleLoggerConfiguration.java
    M slf4j-simple/src/test/java/org/slf4j/simple/multiThreadedExecution/MultithereadedExecutionTest.java
    M slf4j-site/src/site/pages/news.html

  Log Message:
  -----------
  Merge pull request #266 from dfa1/master

minor code cleanups


Compare: https://github.com/qos-ch/slf4j/compare/1d4535ad23dc...43bcc961a28d


More information about the slf4j-dev mailing list