Formatting
This commit is contained in:
parent
218ee1dd57
commit
510c045070
1 changed files with 6 additions and 6 deletions
|
|
@ -66,7 +66,7 @@ public class AttributeEndpointsResourceProvider implements RealmResourceProvider
|
|||
return Response.ok(attribute_list).build();
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Resolves and validates the configuration and request state needed to export attribute
|
||||
* values for a given slug, exposing the results as member variables.
|
||||
*/
|
||||
|
|
@ -87,13 +87,13 @@ public class AttributeEndpointsResourceProvider implements RealmResourceProvider
|
|||
.toList();
|
||||
|
||||
if (componentList.isEmpty()) {
|
||||
throw new NotFoundException("Endpoint not found");
|
||||
throw new NotFoundException("Endpoint not found.");
|
||||
}
|
||||
|
||||
if (componentList.size() > 1) {
|
||||
throw new NotFoundException(
|
||||
"Endpoint Configuration Error - Multiple configurations exist for this endpoint.");
|
||||
}
|
||||
if (componentList.size() > 1) {
|
||||
throw new NotFoundException(
|
||||
"Endpoint Configuration Error - Multiple configurations exist for this endpoint.");
|
||||
}
|
||||
|
||||
ComponentModel component = componentList.get(0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue