Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5575

Refactor Boolean parsing and Boolean object usage

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 17.0.0.Final
    • 17.0.0.Beta7
    • None
    • None

    Description

      Currently some codepoints use Boolean as object and have to deal with null or the logic is based on unnecessary autoboxing.

      Fix: use the primitive boolean and Boolean#parseBoolean instead of Boolean#valueOf. Use Boolean.TRUE.equals / Boolean.FALSE.equals for null-safe true/false checks.

      Attachments

        Activity

          People

            jmesnil1@redhat.com Jeff Mesnil
            xf01213 Boris Unckel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: