End javadoc generated AOT with a period consistently

Closes gh-29357
This commit is contained in:
Sébastien Deleuze
2023-03-07 11:20:37 +01:00
parent fa95bf4dc1
commit c20efba45c
3 changed files with 5 additions and 5 deletions

View File

@@ -830,7 +830,7 @@ public class PersistenceAnnotationBeanPostProcessor implements InstantiationAwar
private void generateGetEntityManagerMethod(MethodSpec.Builder method, PersistenceElement injectedElement) {
String unitName = injectedElement.unitName;
Properties properties = injectedElement.properties;
method.addJavadoc("Get the '$L' {@link $T}",
method.addJavadoc("Get the '$L' {@link $T}.",
(StringUtils.hasLength(unitName)) ? unitName : "default",
EntityManager.class);
method.addModifiers(javax.lang.model.element.Modifier.PUBLIC,