From 64c67e37556040fec3e0068e4514b9fee83cc43a Mon Sep 17 00:00:00 2001 From: Roland Praml Date: Tue, 1 Nov 2016 00:43:17 +0100 Subject: [PATCH] removed debug code and completed documentation --- .../server/deploy/parse/AnnotationBase.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/avaje/ebeaninternal/server/deploy/parse/AnnotationBase.java b/src/main/java/com/avaje/ebeaninternal/server/deploy/parse/AnnotationBase.java index f0d8d9b45..21df2ac49 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/deploy/parse/AnnotationBase.java +++ b/src/main/java/com/avaje/ebeaninternal/server/deploy/parse/AnnotationBase.java @@ -64,22 +64,20 @@ public abstract class AnnotationBase { Field field = prop.getField(); if (field != null) { a = findAnnotation(field, annClass); - if (a != findAnnotation(field, annClass, databasePlatform.getClass())) { - System.out.println("Difference (field) " + field + ", " + annClass); - } } if (a == null) { Method method = prop.getReadMethod(); if (method != null) { a = findAnnotation(method, annClass); - if (a != findAnnotation(method, annClass, databasePlatform.getClass())) { - System.out.println("Difference (method) " + method + ", " + annClass); - } } } return a; } + /** + * Return all annotations for this property. Annotations are not filtered by platfrom and you'll get + * really all annotations that are directly, indirectly or meta-present. + */ protected Set getAll(DeployBeanProperty prop, Class annClass) { Set ret = null; Field field = prop.getField();