karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anierb...@apache.org
Subject svn commit: r1468384 - /karaf/cellar/trunk/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java
Date Tue, 16 Apr 2013 11:52:00 GMT
Author: anierbeck
Date: Tue Apr 16 11:52:00 2013
New Revision: 1468384

URL: http://svn.apache.org/r1468384
Log:
[KARAF-2268] - cellar-cloud: If other "Objects" are available at the bucket they sometimes
are not "readable"

Modified:
    karaf/cellar/trunk/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java

Modified: karaf/cellar/trunk/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java
URL: http://svn.apache.org/viewvc/karaf/cellar/trunk/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java?rev=1468384&r1=1468383&r2=1468384&view=diff
==============================================================================
--- karaf/cellar/trunk/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java
(original)
+++ karaf/cellar/trunk/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java
Tue Apr 16 11:52:00 2013
@@ -103,6 +103,8 @@ public class BlobStoreDiscoveryService i
 			}
             String ip = md.getName();
             Object obj = readBlob(container, ip);
+            if (obj == null)
+            	continue;
             //Check if ip hasn't been updated recently.
             if (obj instanceof DateTime) {
             	LOGGER.debug("CELLAR CLOUD: retrieved a DateTime from blog store");



Mime
View raw message