From ceafcdefda27fe53e002c8f305c782f8a8326cbf Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Tue, 7 Dec 2021 14:32:01 +0100 Subject: [PATCH] Removed unneeded code --- .../org/gcube/common/authorization/utils/user/User.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/java/org/gcube/common/authorization/utils/user/User.java b/src/main/java/org/gcube/common/authorization/utils/user/User.java index 1b8ff46..1eb5af4 100644 --- a/src/main/java/org/gcube/common/authorization/utils/user/User.java +++ b/src/main/java/org/gcube/common/authorization/utils/user/User.java @@ -19,12 +19,4 @@ public interface User { public String getAbout(); - public default String getSurnameName() { - return String.format("%s %s", getFamilyName(), getGivenName()); - } - - public default String getNameSurname() { - return String.format("%s %s", getGivenName(), getFamilyName()); - } - }