Skip to content

Commit

Permalink
move property definition to begin of class to improve code style (spr…
Browse files Browse the repository at this point in the history
  • Loading branch information
skyao authored and spencergibb committed Aug 16, 2017
1 parent 72f9b83 commit 44441b2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -22,9 +25,6 @@ public void setRegisterManagement(boolean registerManagement) {
this.registerManagement = registerManagement;
}

/** Should startup fail if there is no AutoServiceRegistration, default to false. */
private boolean failFast = false;

public boolean isFailFast() {
return failFast;
}
Expand Down

0 comments on commit 44441b2

Please sign in to comment.