Minor refactoring

This commit is contained in:
Sven Kubiak
2020-03-06 13:21:37 +01:00
parent b6288437af
commit 1fa8095fa4

View File

@ -48,8 +48,6 @@ public class Message {
* @return Message instance * @return Message instance
*/ */
public final Message withToken(final String token) { public final Message withToken(final String token) {
Objects.requireNonNull(token, "Token can not be null");
this.token = token; this.token = token;
return this; return this;
} }