[
https://issues.apache.org/jira/browse/ACCUMULO-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284244#comment-16284244
]
Michael Miller commented on ACCUMULO-4702:
------------------------------------------
I built the [library-detectors|https://github.com/overstock/library-detectors]
findbugs plugin locally (they updated to 1.2 but haven't released to maven
central yet) and configured it to skip all the Beta classes. This was
basically a test to create a list of all the Beta classes remaining in Accumulo
2.0. Here is what I came up:
{code:xml}
<jvmArgs>-Dcom.overstock.findbugs.ignore=
com.google.common.util.concurrent.RateLimiter,
com.google.common.hash.Hasher,
com.google.common.hash.HashCode,
com.google.common.hash.HashFunction,
com.google.common.hash.Hashing,
com.google.common.cache.Cache,
com.google.common.io.CountingOutputStream,
com.google.common.io.ByteStreams,
com.google.common.cache.LoadingCache,
com.google.common.base.Stopwatch,
com.google.common.cache.RemovalNotification,
com.google.common.util.concurrent.Uninterruptibles,
com.google.common.reflect.ClassPath,
com.google.common.reflect.ClassPath$ClassInfo,
com.google.common.base.Throwables
</jvmArgs>
{code}
> Use of Beta or deprecated Guava methods
> ---------------------------------------
>
> Key: ACCUMULO-4702
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4702
> Project: Accumulo
> Issue Type: Bug
> Reporter: Michael Miller
> Assignee: Michael Miller
> Labels: pull-request-available
> Fix For: 1.7.4, 1.8.2, 2.0.0
>
> Time Spent: 6h
> Remaining Estimate: 0h
>
> Google releases Guava with beta and deprecated code that should not be used.
> From Guava README:
> bq. If your code is a library itself (i.e. it is used on the CLASSPATH of
> users outside your own control), you should not use beta API
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)