ISIS-1298: change @Hidden to @Programmatic for ViewModel.Cloneable#clone() method
Project: http://git-wip-us.apache.org/repos/asf/isis/repo Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/3fc1eb21 Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/3fc1eb21 Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/3fc1eb21 Branch: refs/heads/ISIS-993 Commit: 3fc1eb219e6c2878ca5c6e6def7754054e723d3f Parents: c229efe Author: Dan Haywood <d...@haywood-associates.co.uk> Authored: Sun Jan 24 13:13:04 2016 +0000 Committer: Dan Haywood <d...@haywood-associates.co.uk> Committed: Sun Jan 24 13:13:04 2016 +0000 ---------------------------------------------------------------------- core/applib/src/main/java/org/apache/isis/applib/ViewModel.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/isis/blob/3fc1eb21/core/applib/src/main/java/org/apache/isis/applib/ViewModel.java ---------------------------------------------------------------------- diff --git a/core/applib/src/main/java/org/apache/isis/applib/ViewModel.java b/core/applib/src/main/java/org/apache/isis/applib/ViewModel.java index c25fcbd..a61ff1e 100644 --- a/core/applib/src/main/java/org/apache/isis/applib/ViewModel.java +++ b/core/applib/src/main/java/org/apache/isis/applib/ViewModel.java @@ -19,10 +19,8 @@ package org.apache.isis.applib; -import org.apache.isis.applib.annotation.Hidden; import org.apache.isis.applib.annotation.Programmatic; - /** * Indicates that an object belongs to the UI/application layer, and is intended to be used as a view model. * @@ -57,7 +55,7 @@ public interface ViewModel { * view model whose state has been edited. */ public interface Cloneable extends java.lang.Cloneable { - @Hidden + @Programmatic public Object clone(); } }