Adapt to API and functional changes in Spring Framework 6 to fix tests.

These changes are also possibly applicable to SDG on Spring Framework 5 and are a candidate for backporting.

Resolves gh-538.
This commit is contained in:
John Blum
2021-09-24 18:07:42 -07:00
parent a1f05817b3
commit e45b9715b5
2 changed files with 3 additions and 3 deletions

View File

@@ -248,7 +248,7 @@ public abstract class AbstractGeodeSecurityIntegrationTests extends ForkingClien
CacheLoader<String, String> echoCacheLoader() {
return new CacheLoader<String, String>() {
return new CacheLoader<>() {
@Override
public String load(LoaderHelper<String, String> helper) throws CacheLoaderException {

View File

@@ -163,7 +163,7 @@ public class EnableContinuousQueriesConfigurationIntegrationTests extends Forkin
private CacheListener<Long, TemperatureReading> temperatureReadingCounterListener() {
return new CacheListenerAdapter<Long, TemperatureReading>() {
return new CacheListenerAdapter<>() {
@Override
public void afterCreate(EntryEvent<Long, TemperatureReading> event) {
@@ -198,7 +198,7 @@ public class EnableContinuousQueriesConfigurationIntegrationTests extends Forkin
private CacheLoader<Long, TemperatureReading> temperatureReadingsLoader() {
return new CacheLoader<Long, TemperatureReading>() {
return new CacheLoader<>() {
@Override
public TemperatureReading load(LoaderHelper<Long, TemperatureReading> helper) throws CacheLoaderException {