X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FClient.java;h=76429574eb1da879fb2e6554a0aadb86609fb4ee;hb=faf66247a34f64946990a985d2ea3003465969cb;hp=e8f5082292d8d2f32d4cd90b74f09d50c19b05f5;hpb=1e9a08c2b73b16dc178437eb8c8025aaa083fcca;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 e8f5082..7642957 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–2015 David Roden + * Sone - Client.java - Copyright © 2010–2020 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; + } + }