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;
|
||||
|
||||
@@ -240,10 +240,6 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||
|| (this.systemPropertyVariables != null && !this.systemPropertyVariables.isEmpty());
|
||||
}
|
||||
|
||||
private boolean hasEnvVariables() {
|
||||
return (this.environmentVariables != null && !this.environmentVariables.isEmpty());
|
||||
}
|
||||
|
||||
private boolean hasWorkingDirectorySet() {
|
||||
return this.workingDirectory != null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user