This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch maintenance-branch
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/maintenance-branch by this
push:
new 553ea57ef8a CAUSEWAY-3969: [v2] minor JpaWeavingSafeguard cleanup
553ea57ef8a is described below
commit 553ea57ef8acdd3ac5caa824fb17ca60c26122dd
Author: andi-huber <[email protected]>
AuthorDate: Mon Feb 23 07:55:15 2026 +0100
CAUSEWAY-3969: [v2] minor JpaWeavingSafeguard cleanup
---
.../jpa/integration/services/JpaWeavingSafeguard.java | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git
a/persistence/jpa/integration/src/main/java/org/apache/causeway/persistence/jpa/integration/services/JpaWeavingSafeguard.java
b/persistence/jpa/integration/src/main/java/org/apache/causeway/persistence/jpa/integration/services/JpaWeavingSafeguard.java
index 328a77ef89c..715c88529b9 100644
---
a/persistence/jpa/integration/src/main/java/org/apache/causeway/persistence/jpa/integration/services/JpaWeavingSafeguard.java
+++
b/persistence/jpa/integration/src/main/java/org/apache/causeway/persistence/jpa/integration/services/JpaWeavingSafeguard.java
@@ -42,11 +42,6 @@ public final class JpaWeavingSafeguard {
final CausewayConfiguration.Persistence.Weaving.SafeguardMode mode;
-//debug
-// {
-// mode = SafeguardMode.REQUIRE_WEAVED;
-// }
-
public void checkAll(final Iterable<Class<?>> entityTypes) {
var cache = new Cache();
@@ -93,7 +88,7 @@ private void fail(final EnhancementDescriptor offender, final
List<EnhancementDe
@RequiredArgsConstructor
@Getter @Accessors(fluent = true)
- private final class EnhancementDescriptor{
+ private final static class EnhancementDescriptor{
final Class<?> cls;
final boolean isEnhanced;
@@ -109,7 +104,7 @@ private final class EnhancementDescriptor{
@RequiredArgsConstructor
@Getter @Accessors(fluent = true)
- private final class Cache {
+ private final static class Cache {
final Map<Class<?>, EnhancementDescriptor> descriptorsByClass;
final _ClassCache classCache;