[ 
https://issues.apache.org/jira/browse/SLING-10029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17258867#comment-17258867
 ] 

Oliver Lietz commented on SLING-10029:
--------------------------------------

[~rombert], I guess immutability is not the point here but construction and 
initialization with values in one go.
{noformat}
                // lucene full-text index
                if (!index.hasChildNode("lucene")) {
                    LuceneIndexHelper.newLuceneIndexDefinition(
                        index, "lucene", LuceneIndexHelper.JR_PROPERTY_INCLUDES,
                        of(
                            "jcr:createdBy",
                            "jcr:lastModifiedBy",
                            "sling:alias",
                            "sling:resourceType",
                            "sling:vanityPath"),
                        "async");
                }
 {noformat}

> Remove Guava dependency
> -----------------------
>
>                 Key: SLING-10029
>                 URL: https://issues.apache.org/jira/browse/SLING-10029
>             Project: Sling
>          Issue Type: Task
>          Components: JCR, Oak
>            Reporter: Oliver Lietz
>            Assignee: Oliver Lietz
>            Priority: Major
>             Fix For: JCR Oak Server 1.2.12
>
>
> Guava is used in a single place to create an immutable set, but there is 
> still the transitive dependency from {{oak-core}} {{1.36}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to