Skip to content

Commit 71428c6

Browse files
committed
Renamed field in a more readable form
1 parent 6b65d9d commit 71428c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/inject/GrpcClientBeanPostProcessor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ public Object postProcessBeforeInitialization(final Object bean, final String be
105105
}
106106

107107
if (isAnnotatedWithConfiguration(clazz)) {
108-
for (final GrpcClientBean beanClientIterator : clazz.getAnnotationsByType(GrpcClientBean.class)) {
108+
for (final GrpcClientBean annotation : clazz.getAnnotationsByType(GrpcClientBean.class)) {
109109

110-
final String beanNameToCreate = getBeanName(beanClientIterator);
110+
final String beanNameToCreate = getBeanName(annotation);
111111
try {
112112
final ConfigurableListableBeanFactory beanFactory = getConfigurableBeanFactory();
113113
final Object beanValue =
114-
processInjectionPoint(null, beanClientIterator.clazz(), beanClientIterator.client());
114+
processInjectionPoint(null, annotation.clazz(), annotation.client());
115115
beanFactory.registerSingleton(beanNameToCreate, beanValue);
116116
} catch (final Exception e) {
117117
throw new BeanCreationException(

0 commit comments

Comments
 (0)