diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/io/InputReader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/InputReader.java b/src/io/InputReader.java index 0926022..985a59b 100644 --- a/src/io/InputReader.java +++ b/src/io/InputReader.java @@ -39,7 +39,7 @@ public class InputReader { JSONObject tweet = new JSONObject(line); - if (tweet.has("tweet-id")) { + if (!tweet.has("user")) { throw new JSONException("not a valid tweet JSON object"); } |