Browse Source

Merge pull request #42777 from quaff

* gh-42777:
  Polish "Polish javadoc for Binder#bindOrCreate(String, Class)"
  Polish javadoc for Binder#bindOrCreate(String, Class)

Closes gh-42777
pull/42868/head
Andy Wilkinson 1 year ago
parent
commit
302ec981f8
  1. 6
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java

6
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 the original author or authors.
* Copyright 2012-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -272,8 +272,8 @@ public class Binder { @@ -272,8 +272,8 @@ public class Binder {
/**
* Bind the specified target {@link Class} using this binder's
* {@link ConfigurationPropertySource property sources} or create a new instance using
* the type of the {@link Bindable} if the result of the binding is {@code null}.
* {@link ConfigurationPropertySource property sources} or create a new instance of
* the specified target {@link Class} if the result of the binding is {@code null}.
* @param name the configuration property name to bind
* @param target the target class
* @param <T> the bound type

Loading…
Cancel
Save