From 4c3fed3a9c0e84fed45ea6609592f8c4af854f8e Mon Sep 17 00:00:00 2001 From: Richard Richter Date: Mon, 25 May 2020 19:26:29 +0200 Subject: [PATCH] ExtensionSchemaRestController: fixed comment mentioning RestServiceUtil It's gone now. --- .../midpoint/rest/impl/ExtensionSchemaRestController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ExtensionSchemaRestController.java b/model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ExtensionSchemaRestController.java index b03caeadebb..5eec71ee612 100644 --- a/model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ExtensionSchemaRestController.java +++ b/model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ExtensionSchemaRestController.java @@ -66,7 +66,7 @@ public ResponseEntity listSchemas() { String output = StringUtils.join(names, "\n"); response = ResponseEntity.ok(output); } catch (Exception ex) { - // we avoid RestServiceUtil.handleException because we cannot serialize OperationResultType into text/plain + // we can't use handleException because we cannot serialize OperationResultType into text/plain LoggingUtils.logUnexpectedException(logger, "Got exception while servicing REST request: {}", ex, result.getOperation()); response = ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR) .body(ex.getMessage()); // TODO handle this somehow better