You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2018/12/04 22:17:00 UTC
[jira] [Commented] (CURATOR-480)
org.apache.curator.x.async.modeled.details.ModeledFrameworkImpl.delete(int)
is not using version parameter
[ https://issues.apache.org/jira/browse/CURATOR-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16709337#comment-16709337 ]
Jordan Zimmerman commented on CURATOR-480:
------------------------------------------
A PR would be appreciated
> org.apache.curator.x.async.modeled.details.ModeledFrameworkImpl.delete(int) is not using version parameter
> ----------------------------------------------------------------------------------------------------------
>
> Key: CURATOR-480
> URL: https://issues.apache.org/jira/browse/CURATOR-480
> Project: Apache Curator
> Issue Type: Bug
> Reporter: Hendrik Haddorp
> Assignee: Jordan Zimmerman
> Priority: Major
>
> org.apache.curator.x.async.modeled.details.ModeledFrameworkImpl.delete(int) is defined as:
> public AsyncStage<Void> delete(int version)
> {
> return dslClient.delete().withVersion(-1).forPath(modelSpec.path().fullPath());
> }
> Shouldn't the -1 be "version"?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)