Removed funny joke (#31)

Small cleanup
This commit is contained in:
DieGurke 2020-03-24 18:15:47 +01:00 committed by GitHub
parent 9020598335
commit 47473e9c47
1 changed files with 2 additions and 1 deletions

View File

@ -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.<br>
@ -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}