Removed funny joke (#31)

Small cleanup
This commit is contained in:
DieGurke 2020-03-24 18:15:47 +01:00 committed by GitHub
parent 722f91ba91
commit a918284615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@ import java.util.List;
import javax.persistence.*; import javax.persistence.*;
/** /**
* This class serves as a way to let Hibernate communicate with the server * This class serves as a way to let Hibernate communicate with the server
* without bringing the dependency of JPA/Hibernate into the client.<br> * 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} * @return a database {@link User} converted into an {@link envoy.data.User}
* @since Envoy Server Standalone v0.1-alpha * @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} * @return the id of a {link envoy.data.User}