Use traditional getter method names.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 07:02:44 +0000 (09:02 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 07:02:44 +0000 (09:02 +0200)
src/main/java/net/pterodactylus/sone/data/Post.java

index 8c7ac51..9cf986f 100644 (file)
@@ -49,7 +49,7 @@ public class Post {
         *
         * @return The time of the post (in milliseconds since Jan 1, 1970 UTC)
         */
-       public long time() {
+       public long getTime() {
                return time;
        }
 
@@ -58,7 +58,7 @@ public class Post {
         *
         * @return The text of the post
         */
-       public String text() {
+       public String getText() {
                return text;
        }