Skip to content

Commit

Permalink
refactor: Prefix RSPEC identifiers with capital S
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek and TeamModerne committed Apr 23, 2024
1 parent 6aa48f9 commit 0c2d4af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public String getDescription() {

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

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public Duration getEstimatedEffortPerOccurrence() {

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

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/rewrite/slf4j.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ description: Use SLF4J's parameterized logging, which can significantly boost pe
tags:
- logging
- slf4j
- RSPEC-2629
- RSPEC-S2629
recipeList:
- org.openrewrite.java.logging.ParameterizedLogging:
methodPattern: org.slf4j.Logger trace(..)
Expand Down

0 comments on commit 0c2d4af

Please sign in to comment.