Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openrewrite/rewrite-logging-frameworks
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.10.0
Choose a base ref
...
head repository: openrewrite/rewrite-logging-frameworks
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.11.0
Choose a head ref
  • 11 commits
  • 31 files changed
  • 9 contributors

Commits on Jun 26, 2025

  1. Remove uses of J.MethodInvocation#withDeclaringType()

    This method doesn't add any real value.
    knutwannheden committed Jun 26, 2025
    Configuration menu
    Copy the full SHA
    6d64cce View commit details
    Browse the repository at this point in the history
  2. fix: any last argument matching Throwable.toString() is left as is (#…

    …229)c
    
    In SLF4J, the last argument of the logging methods will be treated specially and removed from the formatted string argument array if it's a Throwable.
    
    When the last argument was a `.toString()` call we stripped it even if it was a `Throwable` which changed the behaviour.
    
    https://www.slf4j.org/faq.html#paramException
    pdelagrave authored Jun 26, 2025
    Configuration menu
    Copy the full SHA
    1aa3952 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2025

  1. Configuration menu
    Copy the full SHA
    01ed581 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2025

  1. Configuration menu
    Copy the full SHA
    ce62f40 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2025

  1. Don't if-wrap logs when arguments are getters (#233)

    * tests: Don't if-wrap logs when args are getters
    
    * more and better tests
    started to implement
    
    * Update src/main/java/org/openrewrite/java/logging/slf4j/WrapExpensiveLogStatementsInConditionals.java
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    
    * Update src/main/java/org/openrewrite/java/logging/slf4j/WrapExpensiveLogStatementsInConditionals.java
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    
    * implemented more
    added more tests
    
    * clean up
    
    * Adopt `@ValueSource(strings = {...})` for simplicity
    
    * Illustrate a case missed so far
    
    * Minor changes
    
    * Fixed test
    
    * Condense logic
    
    ---------
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Tim te Beek <[email protected]>
    3 people authored Jul 8, 2025
    Configuration menu
    Copy the full SHA
    5ca86c6 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2025

  1. Configuration menu
    Copy the full SHA
    4e96d7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d214405 View commit details
    Browse the repository at this point in the history
Loading