tkobayas commented on code in PR #6587:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6587#discussion_r3232603833


##########
kie-memory-compiler/src/main/java/org/kie/memorycompiler/jdknative/NativeJavaCompiler.java:
##########
@@ -357,14 +494,16 @@ private List<JavaFileObject> 
findClassesInExternalJars(String packageName) {
                 List<JavaFileObject> result = new ArrayList<>();
                 while (urlEnumeration.hasMoreElements()) { // one URL for each 
jar on the classpath that has the given package

Review Comment:
   `result` never be null before this PR. This PR just removed the unreachable 
dead code `if (result == null)`. 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to