mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Object methods are nothing special, don't put them to the top
This commit is contained in:
@@ -58,6 +58,9 @@ public class KnownElementWeigher extends ProximityWeigher {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
if (CommonClassNames.JAVA_LANG_OBJECT.equals(containingClass.getQualifiedName())) {
|
||||
return 0;
|
||||
}
|
||||
return getJdkClassProximity(method.getContainingClass());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user