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/05/28 11:04:03 UTC

[isis] branch master updated: ISIS-2705: typo

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 fcce4d8  ISIS-2705: typo
fcce4d8 is described below

commit fcce4d8c5fcab398d2bc7211e84eb30f47d656ba
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri May 28 13:03:53 2021 +0200

    ISIS-2705: typo
---
 .../object/hidden/HiddenTypeFacetDerivedFromAuthorization.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/hidden/HiddenTypeFacetDerivedFromAuthorization.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/hidden/HiddenTypeFacetDerivedFromAuthorization.java
index 96890e5..782a39e 100644
--- a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/hidden/HiddenTypeFacetDerivedFromAuthorization.java
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/hidden/HiddenTypeFacetDerivedFromAuthorization.java
@@ -47,15 +47,15 @@ public class HiddenTypeFacetDerivedFromAuthorization extends FacetAbstract imple
             return null;
         }
 
-        val hasVisisbleProperty = specification.streamProperties(MixedIn.INCLUDED)
-                .anyMatch(prop ->!AuthorizationFacet.hidesProperty(prop, vc));
+        val hasVisibleProperty = specification.streamProperties(MixedIn.INCLUDED)
+                .anyMatch(prop -> !AuthorizationFacet.hidesProperty(prop, vc));
 
-        if (hasVisisbleProperty) {
+        if (hasVisibleProperty) {
             return null;
         }
 
         val hasVisibleCollection = specification.streamCollections(MixedIn.INCLUDED)
-                .anyMatch(coll ->!AuthorizationFacet.hidesCollection(coll, vc));
+                .anyMatch(coll -> !AuthorizationFacet.hidesCollection(coll, vc));
 
         if (hasVisibleCollection) {
             return null;
@@ -66,7 +66,7 @@ public class HiddenTypeFacetDerivedFromAuthorization extends FacetAbstract imple
             // not sure that we need to check that all actions
             // are hidden before inferring that the type overall is hidden.
             val hasVisibleAction = specification.streamRuntimeActions(MixedIn.INCLUDED)
-                    .anyMatch(act ->!AuthorizationFacet.hidesAction(act, vc));
+                    .anyMatch(act -> !AuthorizationFacet.hidesAction(act, vc));
 
             if (hasVisibleCollection) {
                 return null;