Skip to content
Snippets Groups Projects
Commit be6ba526 authored by Sean Busbey's avatar Sean Busbey Committed by GitHub
Browse files

[couchbase2] logical error in decode() (#786)

[couchbase2] logical error in decode()
parents 164b74c4 44660de7
No related branches found
No related tags found
No related merge requests found
......@@ -856,7 +856,7 @@ public class Couchbase2Client extends DB {
for (Iterator<Map.Entry<String, JsonNode>> jsonFields = json.fields(); jsonFields.hasNext();) {
Map.Entry<String, JsonNode> jsonField = jsonFields.next();
String name = jsonField.getKey();
if (checkFields && fields.contains(name)) {
if (!(checkFields && fields.contains(name))) {
continue;
}
JsonNode jsonValue = jsonField.getValue();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment