You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2016/10/11 12:31:20 UTC

[jira] [Comment Edited] (SOLR-9621) Remove several guava, apache commons calls in favor of java 8 alternatives

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

Uwe Schindler edited comment on SOLR-9621 at 10/11/16 12:30 PM:
----------------------------------------------------------------

you can add a forbidden signature using a glob pattern to the signatures files. e.g. {{org.package.**}}


was (Author: thetaphi):
you can add a forbidden exclusion using a glob pattern to the signatures files. e.g. {{org.package.**}}

> Remove several guava, apache commons calls in favor of java 8 alternatives
> --------------------------------------------------------------------------
>
>                 Key: SOLR-9621
>                 URL: https://issues.apache.org/jira/browse/SOLR-9621
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Michael Braun
>            Priority: Trivial
>
> Now that Solr is against Java 8, we can take advantage of replacing some guava and apache commons calls with JDK standards. I'd like to start by replacing the following:
> com.google.common.base.Supplier  -> java.util.function.Supplier
> com.google.common.base.Predicate -> java.util.function.Predicate
> com.google.common.base.Charsets -> java.nio.charset.StandardCharsets
> org.apache.commons.codec.Charsets -> java.nio.charset.StandardCharsets
> com.google.common.collect.Ordering -> java.util.Comparator
> From com.google.common.base.Preconditions.checkNotNull - replace with java.util.Objects.requireNonNull



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org