Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 77ae582

Browse files
timtebeekTeamModerne
authored andcommitted
refactor: Correctly spaced descriptions
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.recipes.CorrectlySpacedDescriptions?organizationId=ODQ2MGExMTUtNDg0My00N2EwLTgzMGMtNGE1NGExMTBmZDkw Co-authored-by: Moderne <team@moderne.io>
1 parent c702c05 commit 77ae582

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rewrite-javascript/src/main/java/org/openrewrite/javascript/cleanup/UseCaseFallThrough.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public String getDisplayName() {
4545

4646
@Override
4747
public String getDescription() {
48-
return "The comma `,` operator evaluates each of its operands (from left to right) and returns the value of the last operand." +
49-
"The logical OR `||` operator only evaluates the first argument." +
48+
return "The comma `,` operator evaluates each of its operands (from left to right) and returns the value of the last operand. " +
49+
"The logical OR `||` operator only evaluates the first argument. " +
5050
"This recipe replaces the comma and logical OR operator with fall-through cases in switch statements.";
5151
}
5252

0 commit comments

Comments
 (0)