feat: detect String.formatted() in LogLevels reformat method - #361
Conversation
- Rename FORMAT constant to STRING_FORMAT/STRING_FORMATTED for clarity - Update detection to explicitly catch both String.format() and String.formatted() instance method (Java 15+) - Add UsingStringFormatted test scenario and approved output
|
Thanks for the approval, @kotp! I noticed there are two workflows awaiting approval to run. Could a maintainer please approve them when you get a chance? |
|
@kahgoh Thanks for the review! I have updated the analyzer comment to include String.formatted() as requested. You can view the updated text in my website-copy commit. Let me know if you need anything else before merging! |
Can you link the relevant pull request for these changes, making the linking more effective, less having to look for the work that should be reviewed, and potentially approved as well? |
|
@kotp Here is the Pull Request for the website-copy changes: exercism/website-copy#2408 |
IsaacG
left a comment
There was a problem hiding this comment.
Guardian approval, leaving this for maintainers to merge.
Fixes #355