Skip to content

Commit

Permalink
fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Lovakov authored and jmartisk committed Sep 2, 2024
1 parent aa4df31 commit 0e4f4fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private static Optional<String> getDescription(AnnotationInstance graphQLApiAnno
List<AnnotationInstance> descriptionAnnotations = apiClass.annotationsMap().get(Annotations.DESCRIPTION);
if (descriptionAnnotations != null && !descriptionAnnotations.isEmpty()) {
for (AnnotationInstance descriptionAnnotation : descriptionAnnotations) {
if (descriptionAnnotation.target().equals(graphQLApiAnnotation.target())){
if (descriptionAnnotation.target().equals(graphQLApiAnnotation.target())) {
AnnotationValue value = descriptionAnnotation.value();
if (value != null && value.asString() != null && !value.asString().isEmpty()) {
return Optional.of(value.asString());
Expand Down

0 comments on commit 0e4f4fc

Please sign in to comment.