Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating objects documentation issue [JIRA: CLIENTS-1108] #704

Open
apischan opened this issue Mar 28, 2017 · 4 comments
Open

Updating objects documentation issue [JIRA: CLIENTS-1108] #704

apischan opened this issue Mar 28, 2017 · 4 comments

Comments

@apischan
Copy link

Documentation section Updating objects for Java client have the sections Clobber Updates and No-operation Updates in Java. There mentions the methods that are present in versions 2.0.* but they are absent in version 2.1.*: Update.clobberUpdate(...) and Update.noopUpdate().

Possible Fix

fix the documentation

Steps to Reproduce

not provided

Your Environment

  • [2.1.1 ] Riak Java Client version
  • [2.1.1 ] Riak version
@Basho-JIRA Basho-JIRA changed the title Updating objects documentation issue Updating objects documentation issue [JIRA: CLIENTS-1108] Mar 28, 2017
@alexmoore
Copy link
Contributor

Hi @apischan,
Could you provide a link to the document that is incorrect?

Thanks,
Alex

@alexmoore
Copy link
Contributor

Also those methods were removed in 2.0.1 (92adf82). If there's documentation that's invalid I'd like to fix it, but I'd need to know where it is.

Git commit notes:

Removed the static factory methods for generating a "no-op" and
"clobber" update as ... there's no way to make that work due to
type erasure and how I wrote UpdateValue. Updated the Javadoc
for UpdateValue to reflect that you have to override Update
yourself.

@apischan
Copy link
Author

apischan commented Apr 8, 2017

Hi @alexmoore
For instance this link
http://docs.basho.com/riak/kv/2.1.1/developing/usage/updating-objects/
And further version (for instance 2.2.2) have the same info as well.

@alexmoore
Copy link
Contributor

alexmoore commented Apr 9, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants