Skip to content

Commit 2c5e662

Browse files
authored
Fix misleading docstring in preferred version PR (#2944)
1 parent b8ace30 commit 2c5e662

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

temporal-sdk/src/main/java/io/temporal/worker/PreferredVersionProvider.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ public interface PreferredVersionProvider {
2222
*
2323
* <p>This method is invoked on the workflow thread. Any exception it throws propagates out of the
2424
* {@code getVersion} call and fails the current workflow task, which will be retried; a provider
25-
* that always throws will therefore block the workflow. Implementations should be deterministic
26-
* and side-effect free.
25+
* that always throws will therefore block the workflow.
2726
*/
2827
@Nullable
2928
VersionPreference getPreferredVersion(@Nonnull PreferredVersionProviderInput input);

0 commit comments

Comments
 (0)