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

Rahul Sharma commented on SENTRY-1336:
--------------------------------------

Sure

> 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)

Reply via email to