move property definition to begin of class to improve code style (#242)
This commit is contained in:
@@ -14,6 +14,9 @@ public class AutoServiceRegistrationProperties {
|
||||
/** Whether to register the management as a service, defaults to true */
|
||||
private boolean registerManagement = true;
|
||||
|
||||
/** Should startup fail if there is no AutoServiceRegistration, default to false. */
|
||||
private boolean failFast = false;
|
||||
|
||||
public boolean shouldRegisterManagement() {
|
||||
return registerManagement;
|
||||
}
|
||||
@@ -22,9 +25,6 @@ public class AutoServiceRegistrationProperties {
|
||||
this.registerManagement = registerManagement;
|
||||
}
|
||||
|
||||
/** Should startup fail if there is no AutoServiceRegistration, default to false. */
|
||||
private boolean failFast = false;
|
||||
|
||||
public boolean isFailFast() {
|
||||
return failFast;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user