kwin 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_r386387233
##########
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:
It can't be null due to the if condition at
https://github.com/apache/felix-dev/pull/1/files#diff-b66e715ba83980920efaa568f6819c45L1628!
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services