Unused method AbstractMemberWriter.isInherited

XMLWordPrintable

      SonarCloud reports the issue here:
        "Correct one of the identical sub-expressions on both sides of equals."

          protected boolean isInherited(Element ped){
              return (!utils.isPrivate(ped) &&
                      (!utils.isPackagePrivate(ped) ||
                          ped.getEnclosingElement().equals(ped.getEnclosingElement()))); // <-- here
          }

      This might point to a real bug?

            Assignee:
            Hannes Wallnoefer
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: