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/05/03 08:48:40 UTC

[isis] 01/02: ISIS-2297: just removing comments

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

commit 52ff7e22960057904d606ba1595c060ed8f13b73
Author: andi-huber <ah...@apache.org>
AuthorDate: Tue May 3 09:28:48 2022 +0200

    ISIS-2297: just removing comments
---
 .../isis/applib/services/user/UserMemento.java      | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/user/UserMemento.java b/api/applib/src/main/java/org/apache/isis/applib/services/user/UserMemento.java
index e23c2a78f9..e3e841206f 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/user/UserMemento.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/services/user/UserMemento.java
@@ -348,27 +348,6 @@ implements Serializable {
                 .build();
     }
 
-//    // -- VIEWMODEL CONTRACT
-//
-//    //FIXME[ISIS-2964] as UserMemento is serializable, it should not even be required to implement ViewModel
-//    public UserMemento(final String memento) {
-//        this(_Serializables.read(UserMemento.class,
-//                _Bytes.ofCompressedUrlBase64.apply(_Strings.toBytes(memento, StandardCharsets.UTF_8))));
-//    }
-//
-//    private UserMemento(final UserMemento copy) {
-//        this(copy.name, copy.realName, copy.avatarUrl, copy.languageLocale, copy.numberFormatLocale,
-//                copy.timeFormatLocale, copy.authenticationSource, copy.impersonating,
-//                copy.multiTenancyToken, copy.authenticationCode, copy.roles);
-//    }
-
-//    @Programmatic
-//    @Override
-//    public String viewModelMemento() {
-//        val bytes = _Serializables.write(this);
-//        return _Strings.ofBytes(_Bytes.asCompressedUrlBase64.apply(bytes), StandardCharsets.UTF_8);
-//    }
-
     // -- HELPER
 
     private static UserMementoBuilder builderWithDefaults(final String name) {