diff options
author | S129778 <S129778@S129778.campus.tue.nl> | 2014-05-07 16:37:15 +0200 |
---|---|---|
committer | S129778 <S129778@S129778.campus.tue.nl> | 2014-05-07 16:37:15 +0200 |
commit | 4ba04e1a6b2ca94a124f63c6f7a6033b7f17344e (patch) | |
tree | bdf2cd0f11d80d652b3c2d19c45826eafce84476 /src | |
parent | 29f055f6150bd0ade14471dfeb7ebd55f6730515 (diff) | |
parent | a55d7198748a90d9ac6eeb23bb647372a911842c (diff) | |
download | Datafiller-4ba04e1a6b2ca94a124f63c6f7a6033b7f17344e.tar.gz |
Merge origin/master
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"); } |