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

ahuber pushed a commit to branch jpa-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/causeway-app-helloworld.git


The following commit(s) were added to refs/heads/jpa-SNAPSHOT by this push:
     new b54224a  remove deprecated domain-service nature
b54224a is described below

commit b54224afa38b0b36e16188c8dab1398eac7fb818
Author: Andi Huber <[email protected]>
AuthorDate: Thu Mar 14 18:02:26 2024 +0100

    remove deprecated domain-service nature
---
 src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObjects.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObjects.java 
b/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObjects.java
index 20c0da5..b155532 100644
--- a/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObjects.java
+++ b/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObjects.java
@@ -9,7 +9,6 @@ import javax.inject.Named;
 import org.apache.causeway.applib.annotation.Action;
 import org.apache.causeway.applib.annotation.ActionLayout;
 import org.apache.causeway.applib.annotation.DomainService;
-import org.apache.causeway.applib.annotation.NatureOfService;
 import org.apache.causeway.applib.annotation.PriorityPrecedence;
 import org.apache.causeway.applib.annotation.PromptStyle;
 import org.apache.causeway.applib.annotation.RestrictTo;
@@ -19,7 +18,7 @@ import 
org.apache.causeway.applib.services.repository.RepositoryService;
 import domainapp.modules.hello.types.Name;
 
 @Named("hello.HelloWorldObjects")
-@DomainService(nature = NatureOfService.VIEW)
+@DomainService
 @Priority(PriorityPrecedence.EARLY)
 public class HelloWorldObjects {
 

Reply via email to