Description
The following code snippet throws a PathNotFoundException if the "missing" property is not present.
node.setProperty("missing", (String) null);
A better way to handle such a case would be for the above statement to simply do nothing.
The following code snippet throws a PathNotFoundException if the "missing" property is not present.
node.setProperty("missing", (String) null);
A better way to handle such a case would be for the above statement to simply do nothing.