You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/atomgraph/linkeddatahub/resource/Graph.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -318,7 +318,7 @@ public Response patch(UpdateRequest updateRequest, @QueryParam("graph") URI grap
318
318
if (log.isDebugEnabled()) log.debug("PATCH request on named graph with URI: {}", getURI());
319
319
if (log.isDebugEnabled()) log.debug("PATCH update string: {}", updateRequest.toString());
320
320
321
-
if (updateRequest.getOperations().size() >1)
321
+
if (updateRequest.getOperations().size() !=1)
322
322
thrownewWebApplicationException("Only a single SPARQL Update is supported by PATCH", UNPROCESSABLE_ENTITY.getStatusCode()); // 422 Unprocessable Entity
0 commit comments