[slf4j-dev] [qos-ch/slf4j] c7d79d: upgrading code to Java 8

Ceki Gulcu noreply at github.com
Fri Aug 27 01:16:54 CEST 2021


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

  Changed paths:
    M integration/src/test/java/org/slf4j/StringPrintStream.java
    M integration/src/test/java/org/slf4j/issues/Issue324Test.java
    M integration/src/test/java/org/slf4j/test_osgi/CheckingBundleListener.java
    M integration/src/test/java/org/slf4j/test_osgi/FelixHost.java
    M integration/src/test/java/org/slf4j/test_osgi/FrameworkErrorListener.java
    M jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLogFactory.java
    M jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SimpleLog.java
    M jul-to-slf4j/src/main/java/org/slf4j/bridge/SLF4JBridgeHandler.java
    M jul-to-slf4j/src/test/java/org/slf4j/bridge/ListAppender.java
    M jul-to-slf4j/src/test/java/org/slf4j/bridge/SLF4JBridgeHandlerPerfTest.java
    M jul-to-slf4j/src/test/java/org/slf4j/bridge/SLF4JBridgeHandlerTest.java
    M log4j-over-slf4j/src/main/java/org/apache/log4j/Log4jLoggerFactory.java
    M log4j-over-slf4j/src/test/java/org/dummy/ListHandler.java
    M slf4j-api/src/main/java/org/slf4j/Logger.java
    M slf4j-api/src/main/java/org/slf4j/LoggerFactory.java
    M slf4j-api/src/main/java/org/slf4j/event/Level.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/BasicMarkerFactory.java
    M slf4j-api/src/main/java/org/slf4j/helpers/MessageFormatter.java
    M slf4j-api/src/main/java/org/slf4j/helpers/SubstituteLoggerFactory.java
    M slf4j-api/src/test/java/org/slf4j/basicTests/DoubleCheckedInt.java
    M slf4j-api/src/test/java/org/slf4j/helpers/MDCAdapterTestBase.java
    M slf4j-api/src/test/java/org/slf4j/helpers/StringPrintStream.java
    M slf4j-api/src/test/java/org/slf4j/helpers/SubstitutableLoggerTest.java
    M slf4j-api/src/test/java/org/slf4j/helpers/SubstituteLoggerFactoryTest.java
    M slf4j-api/src/test/java/org/slf4j/rule/RunInNewThreadRule.java
    M slf4j-api/src/test/java/org/slf4j/rule/RunInNewThreadStatement.java
    M slf4j-api/src/test/java/org/slf4j/testHarness/MultithreadedInitializationTest.java
    M slf4j-ext/src/main/java/org/slf4j/agent/AgentPremain.java
    M slf4j-ext/src/main/java/org/slf4j/instrumentation/LogTransformer.java
    M slf4j-ext/src/main/java/org/slf4j/instrumentation/ToStringHelper.java
    M slf4j-ext/src/main/java/org/slf4j/profiler/Profiler.java
    M slf4j-ext/src/main/java/org/slf4j/profiler/ProfilerRegistry.java
    M slf4j-ext/src/test/java/org/slf4j/dummyExt/ListAppender.java
    M slf4j-ext/src/test/java/org/slf4j/dummyExt/XLoggerTest.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/SLF4JPlarformLogger.java
    M slf4j-jdk-platform-logging/src/test/java/org/slf4j/jdk/platform/logging/StringPrintStream.java
    M slf4j-jdk14/src/main/java/org/slf4j/jul/JDK14LoggerFactory.java
    M slf4j-jdk14/src/test/java/org/slf4j/jul/JDK14AdapterLoggerNameTest.java
    M slf4j-jdk14/src/test/java/org/slf4j/jul/JDK14MultithreadedInitializationTest.java
    M slf4j-jdk14/src/test/java/org/slf4j/jul/ListHandler.java
    M slf4j-log4j12/src/main/java/org/slf4j/log4j12/Log4jLoggerFactory.java
    M slf4j-log4j12/src/main/java/org/slf4j/log4j12/Log4jMDCAdapter.java
    M slf4j-log4j12/src/test/java/org/slf4j/log4j12/InvocationTest.java
    M slf4j-log4j12/src/test/java/org/slf4j/log4j12/ListAppender.java
    M slf4j-log4j12/src/test/java/org/slf4j/log4j12/testHarness/RecursiveAppender.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/FileSelector.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/InplaceFileConverter.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/Main.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/ProjectConverter.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/internal/MigratorFrame.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/line/EmptyRuleSet.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/test/java/org/slf4j/migrator/line/TrivialMatcher.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/main/java/org/slf4j/simple/SimpleLoggerFactory.java
    M slf4j-site/src/site/pages/css/site.css

  Log Message:
  -----------
  upgrading code to Java 8

- for each
- diamond operator
- some typos

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


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

  Changed paths:
    M integration/src/test/java/org/slf4j/StringPrintStream.java
    M integration/src/test/java/org/slf4j/issues/Issue324Test.java
    M integration/src/test/java/org/slf4j/test_osgi/CheckingBundleListener.java
    M integration/src/test/java/org/slf4j/test_osgi/FelixHost.java
    M integration/src/test/java/org/slf4j/test_osgi/FrameworkErrorListener.java
    M jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLogFactory.java
    M jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SimpleLog.java
    M jul-to-slf4j/src/main/java/org/slf4j/bridge/SLF4JBridgeHandler.java
    M jul-to-slf4j/src/test/java/org/slf4j/bridge/ListAppender.java
    M jul-to-slf4j/src/test/java/org/slf4j/bridge/SLF4JBridgeHandlerPerfTest.java
    M jul-to-slf4j/src/test/java/org/slf4j/bridge/SLF4JBridgeHandlerTest.java
    M log4j-over-slf4j/src/main/java/org/apache/log4j/Log4jLoggerFactory.java
    M log4j-over-slf4j/src/test/java/org/dummy/ListHandler.java
    M slf4j-api/src/main/java/org/slf4j/Logger.java
    M slf4j-api/src/main/java/org/slf4j/LoggerFactory.java
    M slf4j-api/src/main/java/org/slf4j/event/Level.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/BasicMarkerFactory.java
    M slf4j-api/src/main/java/org/slf4j/helpers/MessageFormatter.java
    M slf4j-api/src/main/java/org/slf4j/helpers/SubstituteLoggerFactory.java
    M slf4j-api/src/test/java/org/slf4j/basicTests/DoubleCheckedInt.java
    M slf4j-api/src/test/java/org/slf4j/helpers/MDCAdapterTestBase.java
    M slf4j-api/src/test/java/org/slf4j/helpers/StringPrintStream.java
    M slf4j-api/src/test/java/org/slf4j/helpers/SubstitutableLoggerTest.java
    M slf4j-api/src/test/java/org/slf4j/helpers/SubstituteLoggerFactoryTest.java
    M slf4j-api/src/test/java/org/slf4j/rule/RunInNewThreadRule.java
    M slf4j-api/src/test/java/org/slf4j/rule/RunInNewThreadStatement.java
    M slf4j-api/src/test/java/org/slf4j/testHarness/MultithreadedInitializationTest.java
    M slf4j-ext/src/main/java/org/slf4j/agent/AgentPremain.java
    M slf4j-ext/src/main/java/org/slf4j/instrumentation/LogTransformer.java
    M slf4j-ext/src/main/java/org/slf4j/instrumentation/ToStringHelper.java
    M slf4j-ext/src/main/java/org/slf4j/profiler/Profiler.java
    M slf4j-ext/src/main/java/org/slf4j/profiler/ProfilerRegistry.java
    M slf4j-ext/src/test/java/org/slf4j/dummyExt/ListAppender.java
    M slf4j-ext/src/test/java/org/slf4j/dummyExt/XLoggerTest.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/SLF4JPlarformLogger.java
    M slf4j-jdk-platform-logging/src/test/java/org/slf4j/jdk/platform/logging/StringPrintStream.java
    M slf4j-jdk14/src/main/java/org/slf4j/jul/JDK14LoggerFactory.java
    M slf4j-jdk14/src/test/java/org/slf4j/jul/JDK14AdapterLoggerNameTest.java
    M slf4j-jdk14/src/test/java/org/slf4j/jul/JDK14MultithreadedInitializationTest.java
    M slf4j-jdk14/src/test/java/org/slf4j/jul/ListHandler.java
    M slf4j-log4j12/src/main/java/org/slf4j/log4j12/Log4jLoggerFactory.java
    M slf4j-log4j12/src/main/java/org/slf4j/log4j12/Log4jMDCAdapter.java
    M slf4j-log4j12/src/test/java/org/slf4j/log4j12/InvocationTest.java
    M slf4j-log4j12/src/test/java/org/slf4j/log4j12/ListAppender.java
    M slf4j-log4j12/src/test/java/org/slf4j/log4j12/testHarness/RecursiveAppender.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/FileSelector.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/InplaceFileConverter.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/Main.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/ProjectConverter.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/internal/MigratorFrame.java
    M slf4j-migrator/src/main/java/org/slf4j/migrator/line/EmptyRuleSet.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/test/java/org/slf4j/migrator/line/TrivialMatcher.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/main/java/org/slf4j/simple/SimpleLoggerFactory.java
    M slf4j-site/src/site/pages/css/site.css

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

upgrading code to Java 8


Compare: https://github.com/qos-ch/slf4j/compare/9bc01523710a...d0836be06f72


More information about the slf4j-dev mailing list