From 1360fa5342c9b8896930a9b20058967a95965451 Mon Sep 17 00:00:00 2001 From: James Goff Date: Mon, 9 Jun 2014 19:32:25 -0700 Subject: [PATCH] Fixed small bug in UserInfo.toString() --- src/main/java/com/github/jreddit/user/UserInfo.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/github/jreddit/user/UserInfo.java b/src/main/java/com/github/jreddit/user/UserInfo.java index 4f30733..6067c58 100644 --- a/src/main/java/com/github/jreddit/user/UserInfo.java +++ b/src/main/java/com/github/jreddit/user/UserInfo.java @@ -193,7 +193,7 @@ public String toString() { .append("name: ").append(name).append(newLine) .append("modhash: ").append(modhash).append(newLine) .append("commentKarma: ").append(commentKarma).append(newLine) - .append("linkKarma: ").append(id).append(newLine) + .append("linkKarma: ").append(linkKarma).append(newLine) .append("isModerator: ").append(isMod).append(newLine) .append("hasModMail: ").append(hasModMail).append(newLine) .append("hasMail: ").append(hasMail).append(newLine) @@ -202,9 +202,8 @@ public String toString() { .append("Created: ").append(created).append(newLine) .append("CreatedUTC: ").append(createdUTC).append(newLine) .append("isFriend: ").append(isFriend).append(newLine) - .append("over18: ").append(over18).append(newLine); + .append("over18: ").append(over18); return result.toString(); - } }