Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-1336

Fix PMD violation in testSentryServiceGauges

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 2.0.0
    • Sentry
    • None

    Description

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

      Attachments

        1. SENTRY-1336.002-sentry-ha-redesign.patch
          1 kB
          Rahul Sharma
        2. SENTRY-1336.001.patch
          1 kB
          Rahul Sharma

        Activity

          People

            rahul9269 Rahul Sharma
            anneyu Anne Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: