From 894ae05b7136b5a80bb995b9fff1764fac5e31a1 Mon Sep 17 00:00:00 2001 From: Mike Solomon Date: Mon, 11 Sep 2023 10:18:40 -0700 Subject: [PATCH] Add missing "`" --- .../java/spring/http/SimplifyMediaTypeParseCalls.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCalls.java b/src/main/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCalls.java index 51ef0ea0d..1fdde198c 100644 --- a/src/main/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCalls.java +++ b/src/main/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCalls.java @@ -36,7 +36,7 @@ public String getDisplayName() { @Override public String getDescription() { - return "Replaces `MediaType.parseMediaType('application/json')` and `MediaType.valueOf('application/json') with `MediaType.APPLICATION_JSON`."; + return "Replaces `MediaType.parseMediaType('application/json')` and `MediaType.valueOf('application/json')` with `MediaType.APPLICATION_JSON`."; } static final String MEDIA_TYPE = "org.springframework.http.MediaType"; @@ -74,4 +74,4 @@ public J visitMethodInvocation(J.MethodInvocation methodInvocation, ExecutionCon return j; } } -} \ No newline at end of file +}