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 e28082ef7..885e6ce97 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
@@ -13,66 +13,66 @@ import com.avaje.ebeaninternal.server.deploy.meta.DeployBeanProperty;
*/
public abstract class AnnotationBase {
- protected final DatabasePlatform databasePlatform;
- protected final NamingConvention namingConvention;
- protected final DeployUtil util;
-
- protected AnnotationBase(DeployUtil util) {
- this.util = util;
- this.databasePlatform = util.getDbPlatform();
- this.namingConvention = util.getNamingConvention();
- }
-
- /**
- * read the deployment annotations.
- */
- public abstract void parse();
-
- /**
- * Checks string is null or empty .
- */
- protected boolean isEmpty(String s) {
- if (s == null || s.trim().length() == 0) {
- return true;
- }
- return false;
- }
-
-
- /**
- * Return the annotation for the property.
- *
- * Looks first at the field and then at the getter method.
- *
- */
- protected T get(DeployBeanProperty prop, Class annClass) {
- T a = null;
- Field field = prop.getField();
- if (field != null){
- a = field.getAnnotation(annClass);
- }
- if (a == null) {
- Method m = prop.getReadMethod();
- if (m != null) {
- a = m.getAnnotation(annClass);
- }
- }
- return a;
+ protected final DatabasePlatform databasePlatform;
+ protected final NamingConvention namingConvention;
+ protected final DeployUtil util;
+
+ protected AnnotationBase(DeployUtil util) {
+ this.util = util;
+ this.databasePlatform = util.getDbPlatform();
+ this.namingConvention = util.getNamingConvention();
+ }
+
+ /**
+ * read the deployment annotations.
+ */
+ public abstract void parse();
+
+ /**
+ * Checks string is null or empty .
+ */
+ protected boolean isEmpty(String s) {
+ if (s == null || s.trim().length() == 0) {
+ return true;
}
-
- /**
- * Return the annotation for the property.
- *
- * Looks first at the field and then at the getter method. then at class level.
- *
- */
- protected T find(DeployBeanProperty prop, Class annClass) {
- T a = get(prop, annClass);
- if (a == null) {
- a = prop.getOwningType().getAnnotation(annClass);
- }
- return a;
- }
-
-
+ return false;
+ }
+
+
+ /**
+ * Return the annotation for the property.
+ *
+ * Looks first at the field and then at the getter method.
+ *
+ */
+ protected T get(DeployBeanProperty prop, Class annClass) {
+ T a = null;
+ Field field = prop.getField();
+ if (field != null) {
+ a = field.getAnnotation(annClass);
+ }
+ if (a == null) {
+ Method m = prop.getReadMethod();
+ if (m != null) {
+ a = m.getAnnotation(annClass);
+ }
+ }
+ return a;
+ }
+
+ /**
+ * Return the annotation for the property.
+ *
+ * Looks first at the field and then at the getter method. then at class level.
+ *
+ */
+ protected T find(DeployBeanProperty prop, Class annClass) {
+ T a = get(prop, annClass);
+ if (a == null) {
+ a = prop.getOwningType().getAnnotation(annClass);
+ }
+ return a;
+ }
+
+
}