Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8159

GroupPrincipalWrapper.getName is redundant

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.0
    • Component/s: security-spi
    • Labels:
      None

      Description

      Alex Deparvu, i just noticed that GroupPrincipalWrapper.getName is redundant... spottet it while writing additional tests and found that getName is called twice when mocking the Group that is wrapped. See attached test and patch. Wdyt?

        Attachments

        1. OAK-8159.patch
          3 kB
          Angela Schreiber

          Activity

            People

            • Assignee:
              angela Angela Schreiber
              Reporter:
              angela Angela Schreiber
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: