Skip to content

Commit

Permalink
fixup! eclipse-rdf4jGH-4968: server-spring - Close query result on pr…
Browse files Browse the repository at this point in the history
…e-render exception
  • Loading branch information
vtermanis committed May 16, 2024
1 parent fb01e2a commit b365276
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public ModelAndView handleQueryRequest(HttpServletRequest request, RequestMethod
// care of closing it.
try {
if (queryResponse instanceof AutoCloseable) {
((AutoCloseable)queryResponse).close();
((AutoCloseable) queryResponse).close();
}
} catch (Exception qre) {
logger.warn("Query response closing error", qre);
Expand Down

0 comments on commit b365276

Please sign in to comment.