[ https://issues.apache.org/jira/browse/ACCUMULO-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161819#comment-16161819 ]
Christopher Tubbs commented on ACCUMULO-4702: --------------------------------------------- To prevent the use of beta classes from Guava, we could create a regex rule in checkstyle to ban any Guava imports that aren't in the vetted list. And, we should check everything we're currently using from Guava to ensure it's not marked beta. If a new Guava class is used in an import statement, we can explicitly check if it's beta and then add it to the vetted list in the regex. This is not an ideal solution, but we need to do something to avoid beta classes. > 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 > Fix For: 1.7.4, 1.8.2, 2.0.0 > > > 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)