mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-29 13:39:16 +00:00
Merge branch '3.5.x' into 4.0.x
Closes gh-49727
This commit is contained in:
+1
-1
@@ -544,7 +544,7 @@ public final class PropertyMapper {
|
||||
public interface Mapper<R extends @Nullable Object, T> {
|
||||
|
||||
/**
|
||||
* Map a existing instance for the given nullable value.
|
||||
* Map an existing instance for the given nullable value.
|
||||
* @param instance the existing instance
|
||||
* @param value the value to map (may be {@code null})
|
||||
* @return the resulting mapped instance
|
||||
|
||||
@@ -394,7 +394,7 @@ public interface JsonWriter<T> {
|
||||
|
||||
/**
|
||||
* Only include this member when an extracted value is not {@code null}.
|
||||
* @param extractor an function used to extract the value to test
|
||||
* @param extractor a function used to extract the value to test
|
||||
* @return a {@link Member} which may be configured further
|
||||
*/
|
||||
public Member<T> whenNotNull(Function<@Nullable T, ?> extractor) {
|
||||
|
||||
+1
-1
@@ -98,7 +98,7 @@ public interface Archive extends AutoCloseable {
|
||||
* Factory method to create an appropriate {@link Archive} from the given
|
||||
* {@link Class} target.
|
||||
* @param target a target class that will be used to find the archive code source
|
||||
* @return an new {@link Archive} instance
|
||||
* @return a new {@link Archive} instance
|
||||
* @throws Exception if the archive cannot be created
|
||||
*/
|
||||
static Archive create(Class<?> target) throws Exception {
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ import org.springframework.javapoet.CodeBlock;
|
||||
|
||||
/**
|
||||
* {@link BeanRegistrationAotProcessor} that replaces any {@link JsonMixinModuleEntries}
|
||||
* by an hard-coded equivalent. This has the effect of disabling scanning at runtime.
|
||||
* by a hard-coded equivalent. This has the effect of disabling scanning at runtime.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @deprecated since 4.0.0 for removal in 4.3.0 in favor of Jackson 3
|
||||
|
||||
Reference in New Issue
Block a user