[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;
|
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;
|
return element.getDeclaredAnnotationsByType(DataNotRead.class).length != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -665,7 +665,7 @@ public class DBAccessMorphia extends DBAccess {
|
|||||||
if (addOn != null && !addOn.canRetrieve(elem)) {
|
if (addOn != null && !addOn.canRetrieve(elem)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
final boolean notRead = AnnotationTools.isdefaultNotRead(elem);
|
final boolean notRead = AnnotationTools.isDefaultNotRead(elem);
|
||||||
if (!readAllfields && notRead) {
|
if (!readAllfields && notRead) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -798,7 +798,7 @@ public class DBAccessMorphia extends DBAccess {
|
|||||||
if (addOn != null && !addOn.canRetrieve(elem)) {
|
if (addOn != null && !addOn.canRetrieve(elem)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
final boolean notRead = AnnotationTools.isdefaultNotRead(elem);
|
final boolean notRead = AnnotationTools.isDefaultNotRead(elem);
|
||||||
if (!readAllfields && notRead) {
|
if (!readAllfields && notRead) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1329,7 +1329,7 @@ public class DBAccessSQL extends DBAccess {
|
|||||||
if (addOn != null && !addOn.canRetrieve(elem)) {
|
if (addOn != null && !addOn.canRetrieve(elem)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
final boolean notRead = AnnotationTools.isdefaultNotRead(elem);
|
final boolean notRead = AnnotationTools.isDefaultNotRead(elem);
|
||||||
if (!readAllfields && notRead) {
|
if (!readAllfields && notRead) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -1449,7 +1449,7 @@ public class DBAccessSQL extends DBAccess {
|
|||||||
if (addOn != null && !addOn.canRetrieve(elem)) {
|
if (addOn != null && !addOn.canRetrieve(elem)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
final boolean notRead = AnnotationTools.isdefaultNotRead(elem);
|
final boolean notRead = AnnotationTools.isDefaultNotRead(elem);
|
||||||
if (!readAllfields && notRead) {
|
if (!readAllfields && notRead) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -1461,7 +1461,7 @@ public class DBAccessSQL extends DBAccess {
|
|||||||
for (final OptionSpecifyType specify : specificTypes) {
|
for (final OptionSpecifyType specify : specificTypes) {
|
||||||
if (specify.name.equals(elem.getName())) {
|
if (specify.name.equals(elem.getName())) {
|
||||||
type = specify.clazz;
|
type = specify.clazz;
|
||||||
LOGGER.trace("Detect overwrite of typing ... '{}' => '{}'",
|
LOGGER.trace("Detect overwrite of typing var={} ... '{}' => '{}'", elem.getName(),
|
||||||
elem.getType().getCanonicalName(), specify.clazz.getCanonicalName());
|
elem.getType().getCanonicalName(), specify.clazz.getCanonicalName());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user