You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2023/02/07 06:11:55 UTC
[causeway] branch master updated: CAUSEWAY-3321: mark DomainObjectLayout.plural deprecated
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/causeway.git
The following commit(s) were added to refs/heads/master by this push:
new 4d1bbf83bc CAUSEWAY-3321: mark DomainObjectLayout.plural deprecated
4d1bbf83bc is described below
commit 4d1bbf83bc631b84ae6dbc281e45664128e6dfad
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Feb 7 07:11:49 2023 +0100
CAUSEWAY-3321: mark DomainObjectLayout.plural deprecated
---
.../org/apache/causeway/applib/annotation/DomainObjectLayout.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/api/applib/src/main/java/org/apache/causeway/applib/annotation/DomainObjectLayout.java b/api/applib/src/main/java/org/apache/causeway/applib/annotation/DomainObjectLayout.java
index 8b21350af0..e6a39deafd 100644
--- a/api/applib/src/main/java/org/apache/causeway/applib/annotation/DomainObjectLayout.java
+++ b/api/applib/src/main/java/org/apache/causeway/applib/annotation/DomainObjectLayout.java
@@ -134,9 +134,12 @@ public @interface DomainObjectLayout {
/**
* The plural name of the class.
- *
- * @see DomainObjectLayout#named()
+ * @deprecated CAUSEWAY-3321: for standalone tables (action result),
+ * parented tables (collections) or plural action parameters,
+ * the framework should (and will) use the name of the originating action,
+ * collection or action parameter instead.
*/
+ @Deprecated(forRemoval = true)
String plural()
default "";