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);