avoid null pointer exception

This commit is contained in:
Alessia Bardi 2020-09-07 14:59:54 +02:00
parent 17f87efd1f
commit f1e3de1b07
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ public class ParseRDFJSON {
}
public boolean hasNextElement(){
if(it == null) return false;
return it.hasNext();
}