Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2328

ACL profiles argument for ACL updated events should not necessarily be a Set.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0RC3
    • 4.0RC2
    • None
    • None

      Currently, observers listening to ACL updated events systematically cast the ACL profiles argument to a Set of String but the Collection is always sufficient.
      If someone use a List for the ACL profiles it will avoid an unhandled cast exception.

      If we wanted to explicitelly restrict the type of this parameter to a Set, we could, but currently there is no explicit reason to use a Set.

            trizzi Thibaut Rizzi (Inactive)
            trizzi Thibaut Rizzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: