- if(failure instanceof LocalShardNotFoundException) {
- LOG.debug("No local shard found for {} - DataChangeListener {} at path {} " +
- "cannot be registered", shardName, listener, path);
- } else if(failure != null) {
- LOG.error("Failed to find local shard {} - DataChangeListener {} at path {} " +
- "cannot be registered: {}", shardName, listener, path, failure);
+ if (failure instanceof LocalShardNotFoundException) {
+ LOG.debug("No local shard found for {} - DataChangeListener {} at path {} "
+ + "cannot be registered", shardName, listener, path);
+ } else if (failure != null) {
+ LOG.error("Failed to find local shard {} - DataChangeListener {} at path {} "
+ + "cannot be registered: {}", shardName, listener, path, failure);