Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-2853

Return an expression directly instead of assigning it to a temporary variable

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None

      In AggregateRealmEvidenceTest#populateCertificateChain, the result of builder.build() is stored in a temporary varible called orderedCertificate that is then just returned on the next line.

      Instead of assigning builder.build() to orderedCertificate, just return its value directly.

              akarshijain Akarshi Jain (Inactive)
              fjuma1@redhat.com Farah Juma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: