Skip to content

Commit

Permalink
Remove unnec parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
bpross-52n committed Mar 14, 2022
1 parent 2b020ca commit 048e803
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public boolean isEnum() {
}

public static boolean isEnum(Type type) {
return (type instanceof Class<?>) && ((Class<?>) type).isEnum();
return type instanceof Class<?> && ((Class<?>) type).isEnum();
}

public void setDescription(D description) {
Expand Down

0 comments on commit 048e803

Please sign in to comment.