From fbd798a22d2a0bb3ae7ae320a5e2c089fc708978 Mon Sep 17 00:00:00 2001 From: Carsten Wickner Date: Mon, 29 Jul 2024 23:17:16 +0200 Subject: [PATCH] chore(docs): add missing parenthesis --- slate-docs/source/includes/_main-generator-individual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slate-docs/source/includes/_main-generator-individual.md b/slate-docs/source/includes/_main-generator-individual.md index 11093a81..4613748a 100644 --- a/slate-docs/source/includes/_main-generator-individual.md +++ b/slate-docs/source/includes/_main-generator-individual.md @@ -194,7 +194,7 @@ configBuilder.forMethods() ```java configBuilder.forFields() .withDependentRequiresResolver(field -> Optional - .ofNullable(field.getAnnotationConsideringFieldAndGetter(IfPresentAlsoRequire.class) + .ofNullable(field.getAnnotationConsideringFieldAndGetter(IfPresentAlsoRequire.class)) .map(IfPresentAlsoRequire::value) .map(Arrays::asList) .orElse(null));