Skip to content

Commit 9a55207

Browse files
committed
Update AnnotationUtils.java
1 parent b30491a commit 9a55207

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

microsphere-java-core/src/main/java/io/microsphere/util/AnnotationUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
import static io.microsphere.lang.function.Streams.filterAll;
4343
import static io.microsphere.lang.function.Streams.filterFirst;
4444
import static io.microsphere.lang.function.ThrowableSupplier.execute;
45-
import static io.microsphere.reflect.MethodUtils.OBJECT_METHODS;
45+
import static io.microsphere.reflect.MethodUtils.OBJECT_PUBLIC_METHODS;
4646
import static io.microsphere.reflect.MethodUtils.overrides;
4747
import static io.microsphere.util.ArrayUtils.length;
4848
import static io.microsphere.util.ClassLoaderUtils.resolveClass;
@@ -415,7 +415,7 @@ public static boolean isCallerSensitivePresent() {
415415
private static boolean isInheritedObjectMethod(Method attributeMethod) {
416416
boolean inherited = false;
417417

418-
for (Method method : OBJECT_METHODS) {
418+
for (Method method : OBJECT_PUBLIC_METHODS) {
419419
if (overrides(attributeMethod, method)) {
420420
inherited = true;
421421
break;

0 commit comments

Comments
 (0)