From: David ‘Bombe’ Roden Date: Thu, 14 Apr 2011 18:20:45 +0000 (+0200) Subject: Override Time.toString() to return the text. X-Git-Tag: 0.6.2^2~18^2~3 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=cb37cf263d005618a6bc47b2d6ba1a4a6f2a477a;p=Sone.git Override Time.toString() to return the text. --- diff --git a/src/main/java/net/pterodactylus/sone/web/ajax/GetTimesAjaxPage.java b/src/main/java/net/pterodactylus/sone/web/ajax/GetTimesAjaxPage.java index c037708..f90806a 100644 --- a/src/main/java/net/pterodactylus/sone/web/ajax/GetTimesAjaxPage.java +++ b/src/main/java/net/pterodactylus/sone/web/ajax/GetTimesAjaxPage.java @@ -256,6 +256,14 @@ public class GetTimesAjaxPage extends JsonPage { return refresh; } + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return text; + } + } }