Revision 49711
Added by Sandro La Bruzzo over 6 years ago
CrossRefParserJSON.java | ||
---|---|---|
54 | 54 |
currentObject.setDate(message.getAsJsonObject("created").get("date-time").getAsString()); |
55 | 55 |
} |
56 | 56 |
|
57 |
if (!message.get("title").isJsonNull()) { |
|
57 |
if (message.get("title")!= null && !message.get("title").isJsonNull()) {
|
|
58 | 58 |
currentObject.setTitles(Lists.newArrayList(message.get("title").toString().replace("[", "").replace("]", ""))); |
59 | 59 |
} |
60 | 60 |
|
Also available in: Unified diff
fixed bug on resolver