Skip to content

Commit

Permalink
refactor: Prefix RSPEC identifiers with capital S
Browse files Browse the repository at this point in the history
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.text.FindAndReplace?organizationId=T3BlblJld3JpdGU%3D

Co-authored-by: Moderne <team@moderne.io>
  • Loading branch information
timtebeek and TeamModerne committed Apr 23, 2024
1 parent 11a7706 commit 32afee0
Show file tree
Hide file tree
Showing 83 changed files with 88 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2057");
return Collections.singleton("RSPEC-S2057");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2204");
return Collections.singleton("RSPEC-S2204");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return singleton("RSPEC-5411");
return singleton("RSPEC-S5411");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"For example writing `new BigDecimal(0.1)` does not create a `BigDecimal` which is exactly equal to `0.1`, " +
"but it is equal to `0.1000000000000000055511151231257827021181583404541015625`. " +
"This is because `0.1` cannot be represented exactly as a double (or, for that matter, as a binary fraction of any finite length).",
tags = {"RSPEC-2111"}
tags = {"RSPEC-S2111"}
)
public class BigDecimalDoubleConstructor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2111");
return Collections.singleton("RSPEC-S2111");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1940");
return Collections.singleton("RSPEC-S1940");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1157");
return Collections.singleton("RSPEC-S1157");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return singleton("RSPEC-2737");
return singleton("RSPEC-S2737");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2147");
return Collections.singleton("RSPEC-S2147");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-4551");
return Collections.singleton("RSPEC-S4551");
}

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

@Override
public Set<String> getTags() {
return singleton("RSPEC-2681");
return singleton("RSPEC-S2681");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2162");
return Collections.singleton("RSPEC-S2162");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-4524");
return Collections.singleton("RSPEC-S4524");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-108");
return Collections.singleton("RSPEC-S108");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1132");
return Collections.singleton("RSPEC-S1132");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-3052");
return Collections.singleton("RSPEC-S3052");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2211");
return Collections.singleton("RSPEC-S2211");
}

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

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2060");
return Collections.singleton("RSPEC-S2060");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-128");
return Collections.singleton("RSPEC-S128");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2974");
return Collections.singleton("RSPEC-S2974");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-3457");
return Collections.singleton("RSPEC-S3457");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1994");
return Collections.singleton("RSPEC-S1994");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1117");
return Collections.singleton("RSPEC-S1117");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1118");
return Collections.singleton("RSPEC-S1118");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2912");
return Collections.singleton("RSPEC-S2912");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2692");
return Collections.singleton("RSPEC-S2692");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2692");
return Collections.singleton("RSPEC-S2692");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1488");
return Collections.singleton("RSPEC-S1488");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return new LinkedHashSet<>(Arrays.asList("RSPEC-1155", "RSPEC-3981"));
return new LinkedHashSet<>(Arrays.asList("RSPEC-S1155", "RSPEC-S3981"));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-120");
return Collections.singleton("RSPEC-S120");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-100");
return Collections.singleton("RSPEC-S100");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return singleton("RSPEC-1301");
return singleton("RSPEC-S1301");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1161");
return Collections.singleton("RSPEC-S1161");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1124");
return Collections.singleton("RSPEC-S1124");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1659");
return Collections.singleton("RSPEC-S1659");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-121");
return Collections.singleton("RSPEC-S121");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-2786");
return Collections.singleton("RSPEC-S2786");
}

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

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1317");
return Collections.singleton("RSPEC-S1317");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return new LinkedHashSet<>(Arrays.asList("RSPEC-1171", "RSPEC-3599"));
return new LinkedHashSet<>(Arrays.asList("RSPEC-S1171", "RSPEC-S3599"));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1596");
return Collections.singleton("RSPEC-S1596");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-888");
return Collections.singleton("RSPEC-S888");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1111");
return Collections.singleton("RSPEC-S1111");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-1158");
return Collections.singleton("RSPEC-S1158");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public String getDescription() {

@Override
public Set<String> getTags() {
return Collections.singleton("RSPEC-3626");
return Collections.singleton("RSPEC-S3626");
}

@Override
Expand Down
Loading

0 comments on commit 32afee0

Please sign in to comment.