From 59e40a40d422e4e995b4407ab499f13d2ebbb780 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 2 Jan 2025 23:05:08 +0100 Subject: [PATCH] [FIX] simple correction of typing --- src/org/kar/archidata/annotation/AnnotationTools.java | 2 +- src/org/kar/archidata/dataAccess/DBAccessMorphia.java | 4 ++-- src/org/kar/archidata/dataAccess/DBAccessSQL.java | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/org/kar/archidata/annotation/AnnotationTools.java b/src/org/kar/archidata/annotation/AnnotationTools.java index f83c103..2e48310 100644 --- a/src/org/kar/archidata/annotation/AnnotationTools.java +++ b/src/org/kar/archidata/annotation/AnnotationTools.java @@ -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; } diff --git a/src/org/kar/archidata/dataAccess/DBAccessMorphia.java b/src/org/kar/archidata/dataAccess/DBAccessMorphia.java index a3a5fe0..1c13577 100644 --- a/src/org/kar/archidata/dataAccess/DBAccessMorphia.java +++ b/src/org/kar/archidata/dataAccess/DBAccessMorphia.java @@ -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; } diff --git a/src/org/kar/archidata/dataAccess/DBAccessSQL.java b/src/org/kar/archidata/dataAccess/DBAccessSQL.java index 04ca698..14f95b1 100644 --- a/src/org/kar/archidata/dataAccess/DBAccessSQL.java +++ b/src/org/kar/archidata/dataAccess/DBAccessSQL.java @@ -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; }