[ https://issues.apache.org/jira/browse/SENTRY-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rahul Sharma reassigned SENTRY-1336: ------------------------------------ Assignee: Rahul Sharma > 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 > Assignee: Rahul Sharma > > <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)