Skip to content

Commit

Permalink
refactor: removed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
bsbodden committed Jan 14, 2024
1 parent ad88b46 commit 6835844
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,6 @@ private FTCreateParams createIndexDefinition(Class<?> cl, IndexDataType idxType)

if (cl.isAnnotationPresent(Document.class)) {
Document document = cl.getAnnotation(Document.class);
// TODO: document.async(); // has no effect
Optional.ofNullable(document.filter()).filter(ObjectUtils::isNotEmpty).ifPresent(params::filter);
Optional.ofNullable(document.language()).filter(ObjectUtils::isNotEmpty).ifPresent(lang -> params.language(lang.getValue()));
Optional.ofNullable(document.languageField()).filter(ObjectUtils::isNotEmpty).ifPresent(params::languageField);
Expand Down

0 comments on commit 6835844

Please sign in to comment.