This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 125a0e9497 ISIS-3287: Config: fixes Hibernate Validator throws on App 
Startup
125a0e9497 is described below

commit 125a0e9497040eab629305c1836c375877be04b0
Author: Andi Huber <ahu...@apache.org>
AuthorDate: Mon Nov 21 18:26:59 2022 +0100

    ISIS-3287: Config: fixes Hibernate Validator throws on App Startup
---
 .../config/metamodel/facets/CollectionLayoutConfigOptions.java     | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/core/config/src/main/java/org/apache/causeway/core/config/metamodel/facets/CollectionLayoutConfigOptions.java
 
b/core/config/src/main/java/org/apache/causeway/core/config/metamodel/facets/CollectionLayoutConfigOptions.java
index c085a2e020..d1bec7d8f2 100644
--- 
a/core/config/src/main/java/org/apache/causeway/core/config/metamodel/facets/CollectionLayoutConfigOptions.java
+++ 
b/core/config/src/main/java/org/apache/causeway/core/config/metamodel/facets/CollectionLayoutConfigOptions.java
@@ -24,12 +24,11 @@ import 
org.apache.causeway.core.config.CausewayConfiguration;
 
 import lombok.Getter;
 import lombok.NonNull;
-import lombok.RequiredArgsConstructor;
 import lombok.experimental.Accessors;
 
 public final class CollectionLayoutConfigOptions {
 
-    @RequiredArgsConstructor
+    //@RequiredArgsConstructor XXX[ISIS-3287] don't use lombok here: 
hibernate-validation bug
     public enum TableDecoration {
 
         /**
@@ -48,6 +47,10 @@ public final class CollectionLayoutConfigOptions {
 
         public boolean isNone() { return this == NONE; }
         public boolean isDataTablesNet() { return this == DATATABLES_NET; }
+
+        private TableDecoration(final String cssClass) {
+            this.cssClass = cssClass;
+        }
     }
 
     // -- FACTORIES

Reply via email to