Add just the refactoring from #26. #32
1 changed files with 6 additions and 6 deletions
commit
510c045070
|
|
@ -87,7 +87,7 @@ 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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue