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 2021/11/18 05:43:06 UTC

[isis] branch master updated: ISIS-2882: WrapperFactory: replace ambiguous arg name mixedIn -> mixee

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 217bd03  ISIS-2882: WrapperFactory: replace ambiguous arg name mixedIn -> mixee
217bd03 is described below

commit 217bd03ee66a573ae23bc765f07ed966a8874840
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu Nov 18 06:42:50 2021 +0100

    ISIS-2882: WrapperFactory: replace ambiguous arg name mixedIn -> mixee
---
 .../org/apache/isis/applib/services/wrapper/WrapperFactory.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/wrapper/WrapperFactory.java b/api/applib/src/main/java/org/apache/isis/applib/services/wrapper/WrapperFactory.java
index 6245f2c..59e348d 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/wrapper/WrapperFactory.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/services/wrapper/WrapperFactory.java
@@ -120,7 +120,7 @@ public interface WrapperFactory {
      *     whether the action is executed.  See {@link #wrap(Object, SyncControl)} for more details on this.
      * </p>
      */
-    <T> T wrapMixin(Class<T> mixinClass, Object mixedIn,
+    <T> T wrapMixin(Class<T> mixinClass, Object mixee,
                     SyncControl syncControl);
 
     /**
@@ -128,7 +128,7 @@ public interface WrapperFactory {
      * returning a wrapper to invoke the action synchronously, enforcing business rules.
      * Any exceptions will be propagated, not swallowed.
      */
-    <T> T wrapMixin(Class<T> mixinClass, Object mixedIn);
+    <T> T wrapMixin(Class<T> mixinClass, Object mixee);
 
     /**
      * Obtains the underlying domain object, if wrapped.
@@ -175,13 +175,13 @@ public interface WrapperFactory {
      *
      * @param <T>
      * @param mixinClass
-     * @param mixedIn
+     * @param mixee
      * @param asyncControl
      *
      * @since 2.0
      */
     <T,R> T asyncWrapMixin(
-                   Class<T> mixinClass, Object mixedIn,
+                   Class<T> mixinClass, Object mixee,
                    AsyncControl<R> asyncControl);