From 5050e7ade7e61c04fe90ad374225a29a4a91bbca Mon Sep 17 00:00:00 2001 From: Mike Solomon Date: Thu, 6 Jul 2023 08:25:41 -0700 Subject: [PATCH] Fix UseVarForPrimitive description (#252) Adds missing space and fixes mis-spelling and grammar issues. --- .../openrewrite/java/migrate/lang/var/UseVarForPrimitive.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitive.java b/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitive.java index 710f8b9a46..e6f21c3ccf 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitive.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitive.java @@ -45,8 +45,8 @@ public String getDisplayName() { @Override public String getDescription() { //language=markdown - return "Try to apply local variable type inference `var` to primitiv variables where possible." + - "This recipe will not touch variable declaration with initializer containing ternary operators."; + return "Try to apply local variable type inference `var` to primitive variables where possible. " + + "This recipe will not touch variable declarations with initializers containing ternary operators."; }