- public boolean enables (ValidationStep step) {
-// -------------------------------------------
- if (step == ValidationStep.PROMOTION) return true;
- else if (step == ValidationStep.REVIEW) return (reviewer != null);
- else if (step == ValidationStep.APPROVAL) return (approver != null);
- else if (step == ValidationStep.ACCEPTANCE || step == ValidationStep.REFUSAL) return (signatory != null);
+ public boolean enables (final ValidationStep step) {
+ if (step == ValidationStep.PROMOTION) {
+ return true;
+ } else if (step == ValidationStep.REVIEW) {
+ return (reviewer != null);
+ } else if (step == ValidationStep.APPROVAL) {
+ return (approver != null);
+ } else if (step == ValidationStep.ACCEPTANCE || step == ValidationStep.REFUSAL) {
+ return (signatory != null);
+ }