X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FClient.java;h=7dd086d2380d98a89c12a46a716b7efaa14993dd;hb=955730bdb935c25945c3cdc9a2eff2f720e8aac0;hp=650ef167c9efe032336e019f9deffa462321976f;hpb=c4ae226ec5052116cefc542ae2017036a7bc6332;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/data/Client.java b/src/main/java/net/pterodactylus/sone/data/Client.java index 650ef16..7dd086d 100644 --- a/src/main/java/net/pterodactylus/sone/data/Client.java +++ b/src/main/java/net/pterodactylus/sone/data/Client.java @@ -1,5 +1,5 @@ /* - * Sone - Client.java - Copyright © 2010–2016 David Roden + * Sone - Client.java - Copyright © 2010–2019 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,8 +23,6 @@ import com.google.common.base.Objects; /** * Container for the client information of a {@link Sone}. - * - * @author David ‘Bombe’ Roden */ public class Client { @@ -83,4 +81,9 @@ public class Client { return Objects.hashCode(name, version); } + @Override + public String toString() { + return name + " " + version; + } + }