DATAGEODE-180 - Fix test failures.
This commit is contained in:
@@ -796,7 +796,9 @@ public class CacheFactoryBean extends AbstractFactoryBeanSupport<GemFireCache>
|
||||
@Override
|
||||
@SuppressWarnings("all")
|
||||
public GemFireCache getObject() throws Exception {
|
||||
return Optional.<GemFireCache>ofNullable(getCache()).orElseGet(this::init);
|
||||
|
||||
return Optional.<GemFireCache>ofNullable(getCache())
|
||||
.orElseGet(this::init);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -63,8 +63,7 @@ public class DefinedIndexesApplicationListener implements ApplicationListener<Co
|
||||
queryService.createDefinedIndexes();
|
||||
}
|
||||
catch (MultiIndexCreationException cause) {
|
||||
logger.warn("Failed to create pre-defined Indexes: {}", cause.getMessage(), cause);
|
||||
|
||||
logger.warn(String.format("Failed to create pre-defined Indexes: %s", cause.getMessage()), cause);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user