karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anierb...@apache.org
Subject svn commit: r1468383 - /karaf/cellar/branches/cellar-2.3.x/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java
Date Tue, 16 Apr 2013 11:51:08 GMT
Author: anierbeck
Date: Tue Apr 16 11:51:07 2013
New Revision: 1468383

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

Modified:
    karaf/cellar/branches/cellar-2.3.x/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java

Modified: karaf/cellar/branches/cellar-2.3.x/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java
URL: http://svn.apache.org/viewvc/karaf/cellar/branches/cellar-2.3.x/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java?rev=1468383&r1=1468382&r2=1468383&view=diff
==============================================================================
--- karaf/cellar/branches/cellar-2.3.x/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java
(original)
+++ karaf/cellar/branches/cellar-2.3.x/cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java
Tue Apr 16 11:51:07 2013
@@ -102,6 +102,9 @@ 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