Skip to content

Commit f720136

Browse files
author
wcekan
committed
reverse
1 parent 4ee83c6 commit f720136

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

elide-core/src/main/java/com/yahoo/elide/core/EntityBinding.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -240,16 +240,6 @@ public List<AccessibleObject> getAllFields() {
240240
*/
241241
private void bindEntityFields(Class<?> cls, String type, Collection<AccessibleObject> fieldOrMethodList) {
242242
for (AccessibleObject fieldOrMethod : fieldOrMethodList) {
243-
// Special handling for Eclipse. Load missing annotations
244-
if (fieldOrMethod.getAnnotations().length == 0 && fieldOrMethod instanceof Method) {
245-
Method m = (Method) fieldOrMethod;
246-
try {
247-
fieldOrMethod = m.getDeclaringClass().getMethod(m.getName(), m.getParameterTypes());
248-
} catch (NoSuchMethodException | SecurityException e) {
249-
// Not expected, leave alone
250-
}
251-
}
252-
253243
bindTriggerIfPresent(OnCreatePreSecurity.class, fieldOrMethod);
254244
bindTriggerIfPresent(OnDeletePreSecurity.class, fieldOrMethod);
255245
bindTriggerIfPresent(OnUpdatePreSecurity.class, fieldOrMethod);

0 commit comments

Comments
 (0)