Skip to content
Permalink
Browse files
8263438: Unused method AbstractMemberWriter.isInherited
Reviewed-by: prappo
  • Loading branch information
hns committed May 17, 2021
1 parent dd5a84c commit d5a15f74207f14c8c6928c9d20aff8dcc2a714cc
Showing with 0 additions and 14 deletions.
  1. +0 −14 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractMemberWriter.java
@@ -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.
*

0 comments on commit d5a15f7

Please sign in to comment.