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 2022/01/14 09:41:40 UTC

[isis] branch master updated: ISIS-2943: 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 2f5f339  ISIS-2943: typo
2f5f339 is described below

commit 2f5f339fbbf76617f7d9f2e8fb8aeffb9548739f
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Jan 14 10:38:17 2022 +0100

    ISIS-2943: typo
---
 .../registries/components/ComponentFactoryRegistryDefault.java      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/viewers/wicket/viewer/src/main/java/org/apache/isis/viewer/wicket/viewer/registries/components/ComponentFactoryRegistryDefault.java b/viewers/wicket/viewer/src/main/java/org/apache/isis/viewer/wicket/viewer/registries/components/ComponentFactoryRegistryDefault.java
index dc3cf59..bb6375b 100644
--- a/viewers/wicket/viewer/src/main/java/org/apache/isis/viewer/wicket/viewer/registries/components/ComponentFactoryRegistryDefault.java
+++ b/viewers/wicket/viewer/src/main/java/org/apache/isis/viewer/wicket/viewer/registries/components/ComponentFactoryRegistryDefault.java
@@ -162,11 +162,11 @@ implements ComponentFactoryRegistry {
 
         val allThatApply = componentFactoriesByType.streamElements(componentType)
                 .filter(componentFactory->{
-                    val advide = componentFactory.appliesTo(componentType, model);
-                    if(advide.appliesExclusively()) {
+                    val advice = componentFactory.appliesTo(componentType, model);
+                    if(advice.appliesExclusively()) {
                         exclusiveIfAny.set(componentFactory);
                     }
-                    return advide.applies();
+                    return advice.applies();
                 })
                 // as an optimization, stop taking when we found an exclusive one
                 .takeWhile(__->exclusiveIfAny.isNull())