You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2023/03/21 13:40:00 UTC

[jira] [Updated] (SOLR-16713) Replace Guava usages with pure Java

     [ https://issues.apache.org/jira/browse/SOLR-16713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Risden updated SOLR-16713:
--------------------------------
    Status: Patch Available  (was: Open)

> Replace Guava usages with pure Java 
> ------------------------------------
>
>                 Key: SOLR-16713
>                 URL: https://issues.apache.org/jira/browse/SOLR-16713
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Minor
>
> Guava is used in a variety of places that can be simplified especially with Java streams.
> * Preconditions -> Objects
> * Strings.isNullOrEmpty -> Simple helper method on StrUtils
> * Maps/ImmutableMap -> Java Map
> * Lists/ImmutableList -> Java List
> * Sets/ImmutableSet/ImmutableSortedSet -> Java Set
> * Collections2/Iterables/Iterators/ObjectArrays -> Java Stream
> * Guava cache -> Caffeine cache



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org