Polish
This commit is contained in:
@@ -30,6 +30,7 @@ public class GenericBuilderProperties<T extends GenericBuilderProperties<T>> {
|
||||
return this.number;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public T setNumber(int number) {
|
||||
this.number = number;
|
||||
return (T) this;
|
||||
|
||||
@@ -24,6 +24,7 @@ import org.springframework.boot.configurationsample.ConfigurationProperties;
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class SingleConstructorMethodConfig {
|
||||
|
||||
@ConfigurationProperties(prefix = "foo")
|
||||
|
||||
@@ -24,6 +24,7 @@ import org.springframework.boot.configurationsample.MetaConstructorBinding;
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
@MetaConstructorBinding
|
||||
@SuppressWarnings("unused")
|
||||
public class TwoConstructorsClassConstructorBindingExample {
|
||||
|
||||
private String name;
|
||||
|
||||
Reference in New Issue
Block a user