Null in .parameters()

Hi,

I have just realised that if you add a NULL value to a .parameter() in java, then the parameter will simply be removed.

Ex.

IRI temp = null;

connection.ask("ASK {?temp a rdfs:Class}").parameter("temp", temp);

Would be great if parameter threw a NullPointerException to be honest. Would make it easier to hunt down bugs.

Cheers,
Håvard

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.