// we are allowed to restrict the patch contents (Sec. ???)
log.trace("checking for invalid patch statements");
for (PatchLine patchLine : patch) {
if (LDP.contains.equals(patchLine.getStatement().getPredicate())) {
throw new InvalidModificationException("must not change <" + LDP.contains.stringValue() + "> via PATCH");
}
}
log.debug("patching <{}> ({} changes)", uri.stringValue(), patch.size());