You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/01/10 20:36:07 UTC

[isis] branch master updated: ISIS-2158: remove validation annotations, supposed to fix the build

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 c7dba83  ISIS-2158: remove validation annotations, supposed to fix the build
c7dba83 is described below

commit c7dba838a308a3b1aa7cdcfc04406ef2f679e803
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Jan 10 21:35:53 2020 +0100

    ISIS-2158: remove validation annotations, supposed to fix the build
---
 .../excel/fixtures/demoapp/todomodule/dom/ExcelDemoToDoItem.java   | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/subdomains/excel/fixture/src/main/java/org/apache/isis/subdomains/excel/fixtures/demoapp/todomodule/dom/ExcelDemoToDoItem.java b/subdomains/excel/fixture/src/main/java/org/apache/isis/subdomains/excel/fixtures/demoapp/todomodule/dom/ExcelDemoToDoItem.java
index 494d6f6..a4f8cac 100644
--- a/subdomains/excel/fixture/src/main/java/org/apache/isis/subdomains/excel/fixtures/demoapp/todomodule/dom/ExcelDemoToDoItem.java
+++ b/subdomains/excel/fixture/src/main/java/org/apache/isis/subdomains/excel/fixtures/demoapp/todomodule/dom/ExcelDemoToDoItem.java
@@ -160,13 +160,15 @@ public class ExcelDemoToDoItem implements Comparable<ExcelDemoToDoItem> /*, Cale
 
 
     @javax.jdo.annotations.Column(allowsNull="true", scale=2)
-    @javax.validation.constraints.Digits(integer=10, fraction=2)
+    //XXX breaks build, as of JDOQueryProcessor generated source, that cannot be compiled
+    //@javax.validation.constraints.Digits(integer=10, fraction=2)
     @Property(editing = Editing.DISABLED, editingDisabledReason = "Update using action")
     @Getter @Setter
     private BigDecimal cost;
 
     @javax.jdo.annotations.Column(allowsNull="true", scale=2)
-    @javax.validation.constraints.Digits(integer=10, fraction=2)
+    //XXX breaks build, as of JDOQueryProcessor generated source, that cannot be compiled
+    //@javax.validation.constraints.Digits(integer=10, fraction=2)
     @Property(
             editing = Editing.DISABLED,
             editingDisabledReason = "Update using action"
@@ -241,6 +243,7 @@ public class ExcelDemoToDoItem implements Comparable<ExcelDemoToDoItem> /*, Cale
             @Nullable
             @javax.validation.constraints.Digits(integer=10, fraction=2)
             final BigDecimal cost,
+            
             @Nullable
             @javax.validation.constraints.Digits(integer=10, fraction=2)
             final BigDecimal previousCost