Add local variable reference to the bean name array in isDataSerializerSessionSerializerAdapterPresent().
This commit is contained in:
@@ -962,8 +962,11 @@ public class GemFireHttpSessionConfiguration extends AbstractGemFireHttpSessionC
|
||||
}
|
||||
|
||||
private boolean isDataSerializerSessionSerializerAdapterPresent() {
|
||||
return !ArrayUtils.isEmpty(getApplicationContext()
|
||||
.getBeanNamesForType(DataSerializerSessionSerializerAdapter.class));
|
||||
|
||||
String[] beanNames =
|
||||
getApplicationContext().getBeanNamesForType(DataSerializerSessionSerializerAdapter.class);
|
||||
|
||||
return !ArrayUtils.isEmpty(beanNames);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
Reference in New Issue
Block a user