From a918284615f1894d044421fa6f15212b0e480004 Mon Sep 17 00:00:00 2001 From: DieGurke <55625494+DieGurke@users.noreply.github.com> Date: Tue, 24 Mar 2020 18:15:47 +0100 Subject: [PATCH] Removed funny joke (#31) Small cleanup --- src/main/java/envoy/server/data/User.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/envoy/server/data/User.java b/src/main/java/envoy/server/data/User.java index 6b26459..b356147 100755 --- a/src/main/java/envoy/server/data/User.java +++ b/src/main/java/envoy/server/data/User.java @@ -5,6 +5,7 @@ import java.util.List; import javax.persistence.*; + /** * This class serves as a way to let Hibernate communicate with the server * without bringing the dependency of JPA/Hibernate into the client.
@@ -68,7 +69,7 @@ public class User { * @return a database {@link User} converted into an {@link envoy.data.User} * @since Envoy Server Standalone v0.1-alpha */ - public envoy.data.User toCommonUser() { return new envoy.data.User(id, name.equalsIgnoreCase("Maxi") ? "maxi" : name, status); } + public envoy.data.User toCommonUser() { return new envoy.data.User(id, name, status); } /** * @return the id of a {link envoy.data.User}