Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
aureamunoz committed Nov 28, 2024
1 parent 15cede5 commit 1d9db52
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ public Optional<ResourceClass> createEndpoints(ClassInfo classInfo, boolean cons

private boolean isEndpointValid(ClassInfo classInfo) {
ServiceLoader<EndpointAnnotationHandler> annotationHandlers = ServiceLoader.load(EndpointAnnotationHandler.class);
return annotationHandlers.stream().map(ServiceLoader.Provider::get).anyMatch(h -> h.isEndpointAnnotationValid(classInfo));
return annotationHandlers.stream().map(ServiceLoader.Provider::get)
.anyMatch(h -> h.isEndpointAnnotationValid(classInfo));
}

private String sanitizePath(String path) {
Expand Down

0 comments on commit 1d9db52

Please sign in to comment.