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

Refactor Boolean parsing and Boolean object usage

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: