Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-1660

Useless code in ResourceAuthorizationProvider

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.8.0
    • None
    • Sentry

    Description

      The ResourceAuthorizationProvider class has the following code:

          Set<String> hierarchy = new HashSet<String>();
          for (Authorizable authorizable : authorizables) {
            hierarchy.add(KV_JOINER.join(authorizable.getTypeName(), authorizable.getName()));
          }
      

      The hierarchy variable is never used afterwords, so this code is completely useless.

      Attachments

        1. SENTRY-1660.001.patch
          2 kB
          Jan Hentschel

        Issue Links

          Activity

            People

              janh Jan Hentschel
              akolb Alex Kolbasov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: