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/06/07 07:50:33 UTC
[isis] branch master updated: ISIS-2721: fixes bad switch statement
from prev. commit
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 05c31c6 ISIS-2721: fixes bad switch statement from prev. commit
05c31c6 is described below
commit 05c31c664307d25c459ccce136e2981b96608547
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon Jun 7 09:50:22 2021 +0200
ISIS-2721: fixes bad switch statement from prev. commit
---
.../apache/isis/core/config/beans/IsisBeanTypeRegistryDefault.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/core/config/src/main/java/org/apache/isis/core/config/beans/IsisBeanTypeRegistryDefault.java b/core/config/src/main/java/org/apache/isis/core/config/beans/IsisBeanTypeRegistryDefault.java
index 684ec1a..622a868 100644
--- a/core/config/src/main/java/org/apache/isis/core/config/beans/IsisBeanTypeRegistryDefault.java
+++ b/core/config/src/main/java/org/apache/isis/core/config/beans/IsisBeanTypeRegistryDefault.java
@@ -104,12 +104,13 @@ public class IsisBeanTypeRegistryDefault implements IsisBeanTypeRegistry {
case VIEW_MODEL:
viewModelTypes.add(cls);
return;
+ case VALUE:
+ discoveredValueTypes.add(cls);
+ return;
// skip introspection for these
case MANAGED_BEAN_NOT_CONTRIBUTING:
case COLLECTION:
- case VALUE:
- discoveredValueTypes.add(cls);
case ABSTRACT: // <-- unexpected code reach
case VETOED:
case UNKNOWN: