Formatting
All checks were successful
/ Verify (pull_request) Successful in 52s
/ Verify (push) Successful in 46s

This commit is contained in:
Stefan Bethke 2026-07-21 21:20:15 +02:00
commit 510c045070

View file

@ -66,7 +66,7 @@ public class AttributeEndpointsResourceProvider implements RealmResourceProvider
return Response.ok(attribute_list).build(); return Response.ok(attribute_list).build();
} }
/** /**
* Resolves and validates the configuration and request state needed to export attribute * Resolves and validates the configuration and request state needed to export attribute
* values for a given slug, exposing the results as member variables. * values for a given slug, exposing the results as member variables.
*/ */
@ -87,13 +87,13 @@ public class AttributeEndpointsResourceProvider implements RealmResourceProvider
.toList(); .toList();
if (componentList.isEmpty()) { if (componentList.isEmpty()) {
throw new NotFoundException("Endpoint not found"); throw new NotFoundException("Endpoint not found.");
} }
if (componentList.size() > 1) { if (componentList.size() > 1) {
throw new NotFoundException( throw new NotFoundException(
"Endpoint Configuration Error - Multiple configurations exist for this endpoint."); "Endpoint Configuration Error - Multiple configurations exist for this endpoint.");
} }
ComponentModel component = componentList.get(0); ComponentModel component = componentList.get(0);