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

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git

commit 2076f74b6cf5078f4badc3fee0de0fc6d6145eef
Author: danhaywood <d...@haywood-associates.co.uk>
AuthorDate: Tue Dec 3 12:30:07 2019 +0000

    removes validate0UpdateName - this duplicates the business rule in @Name 
type
---
 .../src/main/java/domainapp/modules/simple/dom/impl/SimpleObject.java  | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/module-simple/src/main/java/domainapp/modules/simple/dom/impl/SimpleObject.java
 
b/module-simple/src/main/java/domainapp/modules/simple/dom/impl/SimpleObject.java
index c198177..4da7a9f 100644
--- 
a/module-simple/src/main/java/domainapp/modules/simple/dom/impl/SimpleObject.java
+++ 
b/module-simple/src/main/java/domainapp/modules/simple/dom/impl/SimpleObject.java
@@ -60,9 +60,6 @@ public class SimpleObject implements Comparable<SimpleObject> 
{
     public String default0UpdateName() {
         return getName();
     }
-    public String validate0UpdateName(String name) {
-        return name.contains("!") ? "Exclamation mark is not allowed" : null;
-    }
 
 
     @Action(semantics = NON_IDEMPOTENT_ARE_YOU_SURE)

Reply via email to