[ https://issues.apache.org/jira/browse/SOLR-16713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703831#comment-17703831 ]
ASF subversion and git services commented on SOLR-16713: -------------------------------------------------------- Commit d0942e92ebb600add8b078869d7a81482e263144 in solr's branch refs/heads/branch_9x from Kevin Risden [ https://gitbox.apache.org/repos/asf?p=solr.git;h=d0942e92ebb ] SOLR-16713: Replace Guava usages with pure Java (#1466) 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 ends up removing the Guava dependency from 4 build.gradle files: * modules/analytics * modules/sql * modules/gcs-repository - test * solrj - test > 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 > Fix For: main (10.0) > > Time Spent: 3h 50m > Remaining Estimate: 0h > > 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 ends up removing the Guava dependency from 4 build.gradle files: > * modules/analytics > * modules/sql > * modules/gcs-repository - test > * solrj - test -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org