Skip to content

Commit 7c9bb24

Browse files
committed
Polish
1 parent b8f9913 commit 7c9bb24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-context/src/main/kotlin/org/springframework/context/support/BeanDefinitionDsl.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ open class BeanDefinitionDsl internal constructor (private val init: BeanDefinit
194194
bd.setAttribute(BeanRegistrationAotProcessor.IGNORE_REGISTRATION_ATTRIBUTE, true)
195195
}
196196

197-
val beanName = name ?: BeanDefinitionReaderUtils.uniqueBeanName(T::class.java.name, context);
197+
val beanName = name ?: BeanDefinitionReaderUtils.uniqueBeanName(T::class.java.name, context)
198198
context.registerBean(beanName, T::class.java, customizer)
199199
}
200200

@@ -242,7 +242,7 @@ open class BeanDefinitionDsl internal constructor (private val init: BeanDefinit
242242
}
243243

244244

245-
val beanName = name ?: BeanDefinitionReaderUtils.uniqueBeanName(T::class.java.name, context);
245+
val beanName = name ?: BeanDefinitionReaderUtils.uniqueBeanName(T::class.java.name, context)
246246
context.registerBean(beanName, T::class.java, Supplier { function.invoke(BeanSupplierContext(context)) }, customizer)
247247
}
248248

0 commit comments

Comments
 (0)