Useless Control Flow in AbstractBulkOperationAction.isCanDisableMailNotifications() method

XMLWordPrintable

    • 3.06

      The error is on line 97:

      97 if (!isHasProjectPermission(Permissions.PROJECT_ADMIN, projectGV));
      98     return false;
      

      Please notice the semicolon ( ; ) at the end of line 97. This means that this block of code will always return false. Tests need to be written before making the changes!

            Assignee:
            Unassigned
            Reporter:
            Dushan Hanuska [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: