sanjana2505006 commented on code in PR #8271:
URL: https://github.com/apache/camel-quarkus/pull/8271#discussion_r2786503309


##########
extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/util/PathFilter.java:
##########
@@ -104,7 +103,7 @@ public String[] scanClassNames(Stream<Path> 
archiveRootDirs) {
         /* Let's add the paths without wildcards even if they did not match 
any Jandex class
          * A workaround for 
https://github.com/apache/camel-quarkus/issues/2969 */
         addNonPatternPaths(selectedPaths);
-        return selectedPaths.toArray(new String[0]);
+        return selectedPaths.toArray(String[]::new);
     }

Review Comment:
   I’ve reverted those changes across the codebase to keep the PR focused on 
the most valuable improvements



-- 
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