From 9325add2d2db049ff2462f53c485537ffe827708 Mon Sep 17 00:00:00 2001 From: Knut Wannheden Date: Sun, 1 Oct 2023 11:06:20 +0200 Subject: [PATCH] Fix typo in `getUnboxedPrimitive()` --- .../openrewrite/java/template/processor/TypeAwareProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/openrewrite/java/template/processor/TypeAwareProcessor.java b/src/main/java/org/openrewrite/java/template/processor/TypeAwareProcessor.java index 85b8b2d0..f78392df 100644 --- a/src/main/java/org/openrewrite/java/template/processor/TypeAwareProcessor.java +++ b/src/main/java/org/openrewrite/java/template/processor/TypeAwareProcessor.java @@ -232,7 +232,7 @@ protected String getUnboxedPrimitive(String paramType) { case "java.lang.Byte": return "byte"; case "java.lang.Character": - return "character"; + return "char"; case "java.lang.Double": return "double"; case "java.lang.Float":