DominikSuess commented on a change in pull request #1: FELIX-6232 - adding option to install parallel version of bundle URL: https://github.com/apache/felix-dev/pull/1#discussion_r388191268
########## File path: webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java ########## @@ -1642,8 +1648,10 @@ private void installBundle( String location, File bundleFile, int startLevel, bo Bundle[] bundles = BundleContextUtil.getWorkingBundleContext(this.getBundleContext()).getBundles(); for ( int i = 0; i < bundles.length; i++ ) { + boolean isSameBSN = (bundles[i].getSymbolicName() != null && bundles[i].getSymbolicName().equals( symbolicName )); Review comment: I appreciate the suggestions - but to be honest I just moved the check fro the if statement below. I tend to change as little as possible to reduce the impact of anything going wrong. I suggest that this PR gets accepted and a subsequent cleanup commit would be made. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services