Skip to content

Commit

Permalink
8263438: Unused method AbstractMemberWriter.isInherited
Browse files Browse the repository at this point in the history
Reviewed-by: prappo
  • Loading branch information
hns committed May 17, 2021
1 parent dd5a84c commit d5a15f7
Showing 1 changed file with 0 additions and 14 deletions.
Expand Up @@ -294,20 +294,6 @@ protected String name(Element member) {
return utils.getSimpleName(member);
}

/**
* Returns {@code true} if the given element is inherited
* by the class that is being documented.
*
* @param ped the element being checked
*
* @return {@code true} if inherited
*/
protected boolean isInherited(Element ped){
return (!utils.isPrivate(ped) &&
(!utils.isPackagePrivate(ped) ||
ped.getEnclosingElement().equals(ped.getEnclosingElement())));
}

/**
* Adds use information to the documentation tree.
*
Expand Down

1 comment on commit d5a15f7

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.