Fix typos in Javadoc, reference docs, and code
Closes gh-28822
This commit is contained in:
@@ -81,7 +81,7 @@ class TypeHelper {
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the super class of the specified {@link Element} or null if this
|
||||
* Return the superclass of the specified {@link Element} or null if this
|
||||
* {@code element} represents {@link Object}.
|
||||
*/
|
||||
public Element getSuperClass(Element element) {
|
||||
@@ -100,7 +100,7 @@ class TypeHelper {
|
||||
public List<Element> getDirectInterfaces(Element element) {
|
||||
List<? extends TypeMirror> superTypes = this.types.directSupertypes(element.asType());
|
||||
List<Element> directInterfaces = new ArrayList<>();
|
||||
if (superTypes.size() > 1) { // index 0 is the super class
|
||||
if (superTypes.size() > 1) { // index 0 is the superclass
|
||||
for (int i = 1; i < superTypes.size(); i++) {
|
||||
Element e = this.types.asElement(superTypes.get(i));
|
||||
if (e != null) {
|
||||
|
||||
Reference in New Issue
Block a user