[FIX] simple correction of typing

This commit is contained in:
Edouard DUPIN 2025-01-02 23:05:08 +01:00
parent b6bf7acd79
commit 59e40a40d4
3 changed files with 6 additions and 6 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}