Skip to content

Commit 0c2d4af

Browse files
refactor: Prefix RSPEC identifiers with capital S
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.text.FindAndReplace?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <[email protected]>
1 parent 6aa48f9 commit 0c2d4af

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/java/org/openrewrite/java/logging/ParameterizedLogging.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public String getDescription() {
6363

6464
@Override
6565
public Set<String> getTags() {
66-
return new HashSet<>(Arrays.asList("RSPEC-2629", "RSPEC-3457"));
66+
return new HashSet<>(Arrays.asList("RSPEC-S2629", "RSPEC-S3457"));
6767
}
6868

6969
@Override

src/main/java/org/openrewrite/java/logging/slf4j/LoggersNamedForEnclosingClass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public Duration getEstimatedEffortPerOccurrence() {
4949

5050
@Override
5151
public Set<String> getTags() {
52-
return new HashSet<>(Arrays.asList("RSPEC-3416", "logging", "slf4j"));
52+
return new HashSet<>(Arrays.asList("RSPEC-S3416", "logging", "slf4j"));
5353
}
5454

5555
@Override

src/main/resources/META-INF/rewrite/slf4j.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ description: Use SLF4J's parameterized logging, which can significantly boost pe
7777
tags:
7878
- logging
7979
- slf4j
80-
- RSPEC-2629
80+
- RSPEC-S2629
8181
recipeList:
8282
- org.openrewrite.java.logging.ParameterizedLogging:
8383
methodPattern: org.slf4j.Logger trace(..)

0 commit comments

Comments
 (0)