There is a contradiction at Java SDK documentation for WorkflowIDReusePolicy
At Java WorkflowOptions reference | Legacy documentation for Temporal SDKs , it is said:
Default: enums.AllowDuplicateFailedOnly
is the default value. It means that the Workflow can start a new run if the previous run failed, was canceled, or was terminated.
At WorkflowOptions.Builder (temporal-sdk 1.19.1 API)
it is mentioned that Default value if not set: AllowDuplicate