[
https://issues.apache.org/jira/browse/SENTRY-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15334691#comment-15334691
]
Anne Yu edited comment on SENTRY-1336 at 6/16/16 9:09 PM:
----------------------------------------------------------
[~rahul9269] can you take this one ? Thanks! Make sure your submitted patch
passes hadoop-qa.
was (Author: anneyu):
[~rahul9269] can you take this one ? Thanks!
> Fix PMD violation in testSentryServiceGauges
> --------------------------------------------
>
> Key: SENTRY-1336
> URL: https://issues.apache.org/jira/browse/SENTRY-1336
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 1.8.0
> Reporter: Anne Yu
>
> <violation beginline="47" endline="47" begincolumn="25" endcolumn="42"
> rule="BooleanInstantiation" ruleset="Basic"
> package="org.apache.sentry.provider.db.service.thrift"
> class="TestSentryServiceMetrics" method="testSentryServiceGauges"
> externalInfoUrl="http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/basic.html#BooleanInstantiation"
> priority="2">
> Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE
> or call Boolean.valueOf() instead.
> </violation>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)