From eda611cf6e07e50ba28524d084f26e657aac4eed Mon Sep 17 00:00:00 2001 From: Alexander Frank Date: Thu, 13 Nov 2014 13:56:08 +0100 Subject: [PATCH] Added byte as a supported type --- .../builder/schema/reader/ColumnValidationReader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DatarobotProcessor/src/main/java/com/arconsis/android/datarobot/builder/schema/reader/ColumnValidationReader.java b/DatarobotProcessor/src/main/java/com/arconsis/android/datarobot/builder/schema/reader/ColumnValidationReader.java index 3a4b33a..dd5a026 100644 --- a/DatarobotProcessor/src/main/java/com/arconsis/android/datarobot/builder/schema/reader/ColumnValidationReader.java +++ b/DatarobotProcessor/src/main/java/com/arconsis/android/datarobot/builder/schema/reader/ColumnValidationReader.java @@ -76,7 +76,8 @@ private boolean isValid(Object value) { || paramType.equals(java.lang.Float.class) // || paramType.equals(java.lang.Double.class) // || paramType.equals(java.lang.Long.class) // - || paramType.equals(java.lang.Short.class); + || paramType.equals(java.lang.Short.class) // + || paramType.equals(java.lang.Byte.class); } private boolean isValidatorAnnotation(AnnotationMirror mirror) {