Skip to content

Commit 5050e7a

Browse files
authored
Fix UseVarForPrimitive description (#252)
Adds missing space and fixes mis-spelling and grammar issues.
1 parent cd0d72c commit 5050e7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitive.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public String getDisplayName() {
4545
@Override
4646
public String getDescription() {
4747
//language=markdown
48-
return "Try to apply local variable type inference `var` to primitiv variables where possible." +
49-
"This recipe will not touch variable declaration with initializer containing ternary operators.";
48+
return "Try to apply local variable type inference `var` to primitive variables where possible. " +
49+
"This recipe will not touch variable declarations with initializers containing ternary operators.";
5050
}
5151

5252

0 commit comments

Comments
 (0)