summaryrefslogtreecommitdiff
path: root/src/data/Tweet.java
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-05-10 20:10:13 +0200
committerPeter Wu <peter@lekensteyn.nl>2014-05-10 20:10:13 +0200
commit6cbe48603e8957a4324d49149f0d46682188a3a7 (patch)
tree459b9bc7582a28230b66f3d634aab2a750b3991d /src/data/Tweet.java
parent84917e8789b9eece2b5ddc2353c3ddcc32a4301e (diff)
downloadDatafiller-6cbe48603e8957a4324d49149f0d46682188a3a7.tar.gz
More nullable annotations, print tweets for parse errors too
Nullable is based on Twitter platform (users, tweets) documentation. Now the line number is also printed.
Diffstat (limited to 'src/data/Tweet.java')
-rw-r--r--src/data/Tweet.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/data/Tweet.java b/src/data/Tweet.java
index de14b19..91bb3d1 100644
--- a/src/data/Tweet.java
+++ b/src/data/Tweet.java
@@ -8,6 +8,7 @@ import org.joda.time.DateTime;
public class Tweet {
public long id;
+ @ValidatingJsonDeserializer.Nullable
public String lang;
@ValidatingJsonDeserializer.Nullable
public long in_reply_to_user_id;