avoid null pointer exception
This commit is contained in:
parent
17f87efd1f
commit
f1e3de1b07
|
@ -67,6 +67,7 @@ public class ParseRDFJSON {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasNextElement(){
|
public boolean hasNextElement(){
|
||||||
|
if(it == null) return false;
|
||||||
return it.hasNext();
|
return it.hasNext();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue