Revize a80d2285
Přidáno uživatelem Tomáš Šimandl před více než 6 roky(ů)
sources/src/main/java/cz/zcu/kiv/offscreen/graph/loader/GraphJSONDataLoader.java | ||
---|---|---|
248 | 248 |
if (attribute.getValue().isJsonArray()){ |
249 | 249 |
|
250 | 250 |
for (JsonElement element : attribute.getValue().getAsJsonArray()){ |
251 |
if (element.isJsonNull()) continue; |
|
251 | 252 |
if (elements.length() != 0) { |
252 | 253 |
elements.append(", "); |
253 | 254 |
} |
Také k dispozici: Unified diff
Bug fix
- some JSONs caused null pointer exception