Skip to content

Commit

Permalink
Fix merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoet-jh committed Sep 25, 2023
1 parent 969a60e commit 7da93f0
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,9 @@ public <T extends PassEntity> void updateObject(T obj) throws IOException {
throw new IOException(
"Update failed: " + url + " returned " + response.code() + " " + response.body().string());
}
Document<T> result_doc = adapter.fromJson(response.body().string());
setVersionIfNeeded(result_doc, obj);
}

Document<T> result_doc = adapter.fromJson(response.body().string());
setVersionIfNeeded(result_doc, obj);
}

private <T extends PassEntity> void setVersionIfNeeded(Document<T> resultDoc, T obj) {
Expand Down

0 comments on commit 7da93f0

Please sign in to comment.