Ard Schrijvers pushed to branch feature/REPO-1835 at cms-community / hippo-repository
Commits: 2760ee48 by Ard Schrijvers at 2017-10-12T13:35:50+02:00 REPO-1835 directly set TRUE - - - - - 1 changed file: - api/src/main/java/org/hippoecm/repository/ext/WorkflowImpl.java Changes: ===================================== api/src/main/java/org/hippoecm/repository/ext/WorkflowImpl.java ===================================== --- a/api/src/main/java/org/hippoecm/repository/ext/WorkflowImpl.java +++ b/api/src/main/java/org/hippoecm/repository/ext/WorkflowImpl.java @@ -28,6 +28,8 @@ import org.hippoecm.repository.api.WorkflowContext; import org.hippoecm.repository.api.WorkflowException; import org.hippoecm.repository.util.JcrUtils; +import static java.lang.Boolean.TRUE; + /** * Implementors of a work-flow in the repository must extend from the WorkflowImpl base type. */ @@ -61,7 +63,7 @@ public abstract class WorkflowImpl implements Remote, Workflow */ public Map<String,Serializable> hints() throws WorkflowException { Map<String,Serializable> map = new TreeMap<>(); - map.put("hints", Boolean.valueOf(true)); + map.put("hints", TRUE); return map; } View it on GitLab: https://code.onehippo.org/cms-community/hippo-repository/commit/2760ee481a44e1d1a7917cd55e3064e8c895e4bc --- View it on GitLab: https://code.onehippo.org/cms-community/hippo-repository/commit/2760ee481a44e1d1a7917cd55e3064e8c895e4bc You're receiving this email because of your account on code.onehippo.org.
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn