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=438378deab1514f0f608d975ef65f5b7aea44ccb;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..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–2016 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; + } + }