Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Thurner committed Aug 16, 2024
1 parent eef32ad commit 7b62b51
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,13 @@ private static void analyzeRestCalls() {
* This method iterates over a list of endpoint classes and their endpoints to find a match for the provided REST call.
* A match is determined based on the URI and HTTP method of the endpoint and the REST call.
*
* @param restCall The REST call information to match.
* @param endpointClasses The list of endpoint classes containing endpoint information.
* @param restCall The REST call information to match.
* @param endpointClasses The list of endpoint classes containing endpoint information.
* @param matchingEndpoint An optional containing the matching endpoint if found.
* @return An optional containing the matching endpoint if found, otherwise an empty optional.
*/
private static Optional<EndpointInformation> findMatchingEndpoint(RestCallInformation restCall, List<EndpointClassInformation> endpointClasses, Optional<EndpointInformation> matchingEndpoint) {
private static Optional<EndpointInformation> findMatchingEndpoint(RestCallInformation restCall, List<EndpointClassInformation> endpointClasses,
Optional<EndpointInformation> matchingEndpoint) {
for (EndpointClassInformation endpointClass : endpointClasses) {
for (EndpointInformation endpoint : endpointClass.getEndpoints()) {
String endpointURI = endpoint.buildComparableEndpointUri();
Expand Down

0 comments on commit 7b62b51

Please sign in to comment.