From 0e132449a334d5052e068929a7284bc32cfc0afc Mon Sep 17 00:00:00 2001 From: Dominik Przybyl Date: Fri, 3 Nov 2023 02:18:36 +0100 Subject: [PATCH] typo --- .../src/main/java/com/cognifide/apm/api/actions/Message.java | 2 +- .../com/cognifide/apm/core/actions/MapperDescriptorFactory.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/aem/api/src/main/java/com/cognifide/apm/api/actions/Message.java b/app/aem/api/src/main/java/com/cognifide/apm/api/actions/Message.java index b2e28cd0..9ef53f40 100644 --- a/app/aem/api/src/main/java/com/cognifide/apm/api/actions/Message.java +++ b/app/aem/api/src/main/java/com/cognifide/apm/api/actions/Message.java @@ -33,7 +33,7 @@ public Message(String text, String type) { } private Message() { - // GSON library needs + // GSON library needs this } public String getText() { diff --git a/app/aem/core/src/main/java/com/cognifide/apm/core/actions/MapperDescriptorFactory.java b/app/aem/core/src/main/java/com/cognifide/apm/core/actions/MapperDescriptorFactory.java index c0bfcf54..6d087679 100644 --- a/app/aem/core/src/main/java/com/cognifide/apm/core/actions/MapperDescriptorFactory.java +++ b/app/aem/core/src/main/java/com/cognifide/apm/core/actions/MapperDescriptorFactory.java @@ -93,7 +93,7 @@ private Optional create(Mapper mapper, Method method) { Type type = types[i]; Annotation[] parameterAnnotations = annotations[i]; Class apmType = getApmType(type); - ParameterDescriptor parameterDescriptor = null; + ParameterDescriptor parameterDescriptor; if (containsAnnotation(parameterAnnotations, Named.class)) { Named namedAnnotation = getAnnotation(parameterAnnotations, Named.class); parameterDescriptor = new NamedParameterDescriptor(apmType, namedAnnotation);