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

Make public static fields in Command class final

    XMLWordPrintable

Details

    Description

      Fields that are public and static but not "final" could introduce problems because any object can do whatever it wants with the shared state resulting in unpredictable behaviour.

      https://github.com/wildfly-security/wildfly-elytron/blob/1.x/tool/src/main/java/org/wildfly/security/tool/Command.java#L49

      Attachments

        Activity

          People

            aishwaryamittal Aishwarya Mittal (Inactive)
            dvilkola@redhat.com Diana Krepinska
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: