Override Time.toString() to return the text.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Apr 2011 18:20:45 +0000 (20:20 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Apr 2011 18:26:19 +0000 (20:26 +0200)
src/main/java/net/pterodactylus/sone/web/ajax/GetTimesAjaxPage.java

index c037708..f90806a 100644 (file)
@@ -256,6 +256,14 @@ public class GetTimesAjaxPage extends JsonPage {
                        return refresh;
                }
 
+               /**
+                * {@inheritDoc}
+                */
+               @Override
+               public String toString() {
+                       return text;
+               }
+
        }
 
 }