Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-22121

Typo in error message in AbstractPermissionManager

    XMLWordPrintable

Details

    Description

      Should read "must be a" not "must a". Only reported because it can make it out to a log file.

      
          public boolean hasPermission(final int permissionsId, final User user)
          {
              final long start = System.currentTimeMillis();
              try
              {
                  if (!isGlobalPermission(permissionsId))
                  {
                      throw new IllegalArgumentException("PermissionType passed to this function must a global permission, " + permissionsId + " is not");
                  }
      

      Attachments

        Activity

          People

            chris@atlassian.com Chris Mountford
            73d805a2526b MattS
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: