mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 02:45:36 +01:00
fixed a bug in ModeContribution: looking for className was not stopped after it was found. added check and break on line 97
This commit is contained in:
@@ -92,8 +92,9 @@ public class ModeContribution extends InstalledContribution {
|
||||
loader = new URLClassLoader(urlList);
|
||||
|
||||
for (int j = 0; j < archives.length; j++) {
|
||||
className = ToolContribution.findClassInZipFile(folder.getName(),
|
||||
archives[j]);
|
||||
className = ToolContribution.findClassInZipFile( folder.getName(),
|
||||
archives[j] );
|
||||
if (className != null) break;
|
||||
}
|
||||
} catch (MalformedURLException e) {
|
||||
// Maybe log this
|
||||
|
||||
Reference in New Issue
Block a user