davsclaus commented on code in PR #25752:
URL: https://github.com/apache/camel/pull/25752#discussion_r3862006814


##########
components/camel-platform-http-vertx/src/main/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpConsumer.java:
##########
@@ -283,6 +284,15 @@ protected boolean startRestServicesContractFirst() throws 
Exception {
         return matched;
     }
 
+    static String buildNormalizedEndpoint(RestService restService) {
+        String base = restService.getBasePath();
+        if (base != null && base.endsWith("/")) {

Review Comment:
   Minor: `base != null` is unreachable here — both call sites only reach this 
method after `target.equals(r.getBasePath())` matched a non-null `target`, so 
`getBasePath()` can never be null. Not a problem, just noting it's effectively 
dead code.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to