Skip to content
Snippets Groups Projects
Commit dd043f82 authored by Michael Nitschinger's avatar Michael Nitschinger
Browse files

Revert "logical error in decode()"

This needs to be reverted because it breaks all the other codepaths since it
just doesn't return anything on read or scan.

This reverts commit 44660de7.
parent 275806bd
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