openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1681973 - /openwebbeans/trunk/webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/OsgiMetaDataScannerService.java
Date Wed, 27 May 2015 11:08:31 GMT
Author: struberg
Date: Wed May 27 11:08:30 2015
New Revision: 1681973

URL: http://svn.apache.org/r1681973
Log:
OWB-989 fix potential nullpointer

Modified:
    openwebbeans/trunk/webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/OsgiMetaDataScannerService.java

Modified: openwebbeans/trunk/webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/OsgiMetaDataScannerService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/OsgiMetaDataScannerService.java?rev=1681973&r1=1681972&r2=1681973&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/OsgiMetaDataScannerService.java
(original)
+++ openwebbeans/trunk/webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/OsgiMetaDataScannerService.java
Wed May 27 11:08:30 2015
@@ -234,7 +234,7 @@ public class OsgiMetaDataScannerService
             {
                 URL jarURL = bundle.getEntry(jarName);
 
-                logger.info("adding the following beans.xml URL: " + jarURL.toExternalForm());
+                logger.info("adding the following beans.xml URL: " + jarURL != null ? jarURL.toExternalForm()
: null);
 
                 beanXMLs.add(jarURL);
                 beanArchiveJarNames.add(jarName);



Mime
View raw message