You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2023/03/13 18:27:42 UTC

[causeway] branch master updated: CAUSEWAY-3373: revert intermediate refactoring step

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/causeway.git


The following commit(s) were added to refs/heads/master by this push:
     new e806ad6949 CAUSEWAY-3373: revert intermediate refactoring step
e806ad6949 is described below

commit e806ad6949d627018e305f88c6870ccd4af8dd3d
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon Mar 13 19:27:36 2023 +0100

    CAUSEWAY-3373: revert intermediate refactoring step
---
 .../commons/model/components/UiComponentType.java       | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/viewers/commons/model/src/main/java/org/apache/causeway/viewer/commons/model/components/UiComponentType.java b/viewers/commons/model/src/main/java/org/apache/causeway/viewer/commons/model/components/UiComponentType.java
index 0fa7541855..e8362310f5 100644
--- a/viewers/commons/model/src/main/java/org/apache/causeway/viewer/commons/model/components/UiComponentType.java
+++ b/viewers/commons/model/src/main/java/org/apache/causeway/viewer/commons/model/components/UiComponentType.java
@@ -21,7 +21,6 @@ package org.apache.causeway.viewer.commons.model.components;
 import org.springframework.lang.Nullable;
 
 import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.services.publishing.spi.PageRenderSubscriber;
 import org.apache.causeway.core.metamodel.commons.StringExtensions;
 
 import lombok.Getter;
@@ -161,17 +160,6 @@ public enum UiComponentType {
 
     private UiComponentType() {
         this.optionality = Optionality.MANDATORY;
-        this.subscriberPageType = PageRenderSubscriber.PageType.OTHER;
-    }
-
-    private UiComponentType(final Optionality optionality) {
-        this.optionality = optionality;
-        this.subscriberPageType = PageRenderSubscriber.PageType.OTHER;
-    }
-
-    private UiComponentType(final PageRenderSubscriber.PageType pageType) {
-        this.optionality = Optionality.MANDATORY;
-        this.subscriberPageType = pageType;
     }
 
     @Override
@@ -196,9 +184,6 @@ public enum UiComponentType {
     @Getter
     private final Optionality optionality;
 
-    @Getter
-    private final PageRenderSubscriber.PageType subscriberPageType;
-
     @Nullable
     public static UiComponentType lookup(final String id) {
         for (final UiComponentType uiComponentType : values()) {
@@ -209,6 +194,4 @@ public enum UiComponentType {
         return null;
     }
 
-
-
 }