Browse Source

Fix missing braces.

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>

Closes #3462
pull/3465/head
Tran Ngoc Nhan 1 month ago committed by Mark Paluch
parent
commit
ebfa612eb7
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 2
      src/main/java/org/springframework/data/aot/AotContext.java
  2. 4
      src/main/java/org/springframework/data/auditing/Auditor.java

2
src/main/java/org/springframework/data/aot/AotContext.java

@ -280,7 +280,7 @@ public interface AotContext extends EnvironmentCapable { @@ -280,7 +280,7 @@ public interface AotContext extends EnvironmentCapable {
interface TypeIntrospector {
/**
* Determines whether @link Class type} is present on the application classpath.
* Determines whether {@link Class type} is present on the application classpath.
*
* @return {@literal true} if the {@link Class type} is present on the application classpath.
* @see #getClassLoader()

4
src/main/java/org/springframework/data/auditing/Auditor.java

@ -58,7 +58,7 @@ class Auditor<T> { @@ -58,7 +58,7 @@ class Auditor<T> {
*
* @param source can be {@literal null}.
* @param <T>
* @return {@link Auditor#none()} if the given {@literal source} is {@literal null}. }
* @return {@link Auditor#none()} if the given {@literal source} is {@literal null}.
*/
@SuppressWarnings({ "unchecked", "rawtypes" })
public static <T> Auditor<T> of(@Nullable T source) {
@ -77,7 +77,7 @@ class Auditor<T> { @@ -77,7 +77,7 @@ class Auditor<T> {
*
* @param source must not be {@literal null}.
* @param <T>
* @return {@link Auditor#none()} if the given {@literal source} is {@literal null}. }
* @return {@link Auditor#none()} if the given {@literal source} is {@literal null}.
*/
public static <T> Auditor<T> ofOptional(Optional<T> source) {
return Auditor.of(source.orElse(null));

Loading…
Cancel
Save