summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaurice Laveaux <m.laveaux@student.tue.nl>2014-05-07 14:31:11 +0200
committerMaurice Laveaux <m.laveaux@student.tue.nl>2014-05-07 14:31:11 +0200
commita55d7198748a90d9ac6eeb23bb647372a911842c (patch)
tree9796bef7742fb28c69be16216d2ec808e09ba2f5 /src
parenta9de546d1867c4a2f130cf55c208719eb6b27f54 (diff)
downloadDatafiller-a55d7198748a90d9ac6eeb23bb647372a911842c.tar.gz
Fixed a small typo, tweets contain "user".
Diffstat (limited to 'src')
-rw-r--r--src/io/InputReader.java2
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");
}