Created
June 24, 2015 16:14
-
-
Save tomblench/bd8a79cc3a3cc6e52880 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private BasicDocumentRevision createDbObjectDeleted(String rev) { | |
DocumentRevisionBuilder builder = new DocumentRevisionBuilder(); | |
builder.setDocId(OBJECT_ID); | |
builder.setRevId(rev); | |
builder.setDeleted(true); | |
builder.setBody(new BasicDocumentBody(JSONUtils.EMPTY_JSON)); | |
return builder.build(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment