Skip to content

Commit

Permalink
Source > Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehutch committed Nov 26, 2021
1 parent 770ef93 commit 7a66f12
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/github/classgraph/ClassInfo.java
Expand Up @@ -1189,7 +1189,7 @@ public String getModifiersStr() {
public boolean isPublic() {
return Modifier.isPublic(modifiers);
}

/**
* Checks if the class is private.
*
Expand All @@ -1198,7 +1198,7 @@ public boolean isPublic() {
public boolean isPrivate() {
return Modifier.isPrivate(modifiers);
}

/**
* Checks if the class is protected.
*
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/io/github/classgraph/FieldInfo.java
Expand Up @@ -180,7 +180,7 @@ public String getModifiersStr() {
public boolean isPublic() {
return Modifier.isPublic(modifiers);
}

/**
* Returns true if this field is private.
*
Expand All @@ -189,7 +189,7 @@ public boolean isPublic() {
public boolean isPrivate() {
return Modifier.isPrivate(modifiers);
}

/**
* Returns true if this field is protected.
*
Expand Down Expand Up @@ -225,7 +225,7 @@ public boolean isFinal() {
public boolean isTransient() {
return Modifier.isTransient(modifiers);
}

/**
* Returns true if this field is synthetic.
*
Expand All @@ -234,7 +234,7 @@ public boolean isTransient() {
public boolean isSynthetic() {
return (modifiers & 0x1000) != 0;
}

/**
* Returns true if this field is an enum constant.
*
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/io/github/classgraph/MethodInfo.java
Expand Up @@ -339,7 +339,7 @@ public boolean isConstructor() {
public boolean isPublic() {
return Modifier.isPublic(modifiers);
}

/**
* Returns true if this method is private.
*
Expand All @@ -348,7 +348,7 @@ public boolean isPublic() {
public boolean isPrivate() {
return Modifier.isPrivate(modifiers);
}

/**
* Returns true if this method is protected.
*
Expand Down Expand Up @@ -420,7 +420,7 @@ public boolean isVarArgs() {
public boolean isNative() {
return Modifier.isNative(modifiers);
}

/**
* Returns true if this method is abstract.
*
Expand All @@ -429,7 +429,7 @@ public boolean isNative() {
public boolean isAbstract() {
return Modifier.isAbstract(modifiers);
}

/**
* Returns true if this method is strict.
*
Expand Down

0 comments on commit 7a66f12

Please sign in to comment.