[FIX] simple correction of typing
This commit is contained in:
parent
b6bf7acd79
commit
59e40a40d4
@ -346,7 +346,7 @@ public class AnnotationTools {
|
||||
return element.getDeclaredAnnotationsByType(UpdateTimestamp.class).length != 0;
|
||||
}
|
||||
|
||||
public static boolean isdefaultNotRead(final Field element) {
|
||||
public static boolean isDefaultNotRead(final Field element) {
|
||||
return element.getDeclaredAnnotationsByType(DataNotRead.class).length != 0;
|
||||
}
|
||||
|
||||
|
@ -665,7 +665,7 @@ public class DBAccessMorphia extends DBAccess {
|
||||
if (addOn != null && !addOn.canRetrieve(elem)) {
|
||||
continue;
|
||||
}
|
||||
final boolean notRead = AnnotationTools.isdefaultNotRead(elem);
|
||||
final boolean notRead = AnnotationTools.isDefaultNotRead(elem);
|
||||
if (!readAllfields && notRead) {
|
||||
continue;
|
||||
}
|
||||
@ -798,7 +798,7 @@ public class DBAccessMorphia extends DBAccess {
|
||||
if (addOn != null && !addOn.canRetrieve(elem)) {
|
||||
continue;
|
||||
}
|
||||
final boolean notRead = AnnotationTools.isdefaultNotRead(elem);
|
||||
final boolean notRead = AnnotationTools.isDefaultNotRead(elem);
|
||||
if (!readAllfields && notRead) {
|
||||
continue;
|
||||
}
|
||||
|
@ -1329,7 +1329,7 @@ public class DBAccessSQL extends DBAccess {
|
||||
if (addOn != null && !addOn.canRetrieve(elem)) {
|
||||
continue;
|
||||
}
|
||||
final boolean notRead = AnnotationTools.isdefaultNotRead(elem);
|
||||
final boolean notRead = AnnotationTools.isDefaultNotRead(elem);
|
||||
if (!readAllfields && notRead) {
|
||||
continue;
|
||||
}
|
||||
@ -1449,7 +1449,7 @@ public class DBAccessSQL extends DBAccess {
|
||||
if (addOn != null && !addOn.canRetrieve(elem)) {
|
||||
continue;
|
||||
}
|
||||
final boolean notRead = AnnotationTools.isdefaultNotRead(elem);
|
||||
final boolean notRead = AnnotationTools.isDefaultNotRead(elem);
|
||||
if (!readAllfields && notRead) {
|
||||
continue;
|
||||
}
|
||||
@ -1461,7 +1461,7 @@ public class DBAccessSQL extends DBAccess {
|
||||
for (final OptionSpecifyType specify : specificTypes) {
|
||||
if (specify.name.equals(elem.getName())) {
|
||||
type = specify.clazz;
|
||||
LOGGER.trace("Detect overwrite of typing ... '{}' => '{}'",
|
||||
LOGGER.trace("Detect overwrite of typing var={} ... '{}' => '{}'", elem.getName(),
|
||||
elem.getType().getCanonicalName(), specify.clazz.getCanonicalName());
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user