Skip to content

Commit

Permalink
Fix JsonRecordSerializer (due to changes introduced in JsonSerializer)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Lichtenberger committed Oct 18, 2020
1 parent 7fefb25 commit b4b959c
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -209,7 +209,7 @@ public static final class Builder {
/**
* Determines the maximum level to up to which to skip subtrees from serialization.
*/
private long maxLevel;
private long maxLevel = Long.MAX_VALUE;

/**
* Determines if nodeKey meta data should be serialized or not.
Expand Down Expand Up @@ -238,7 +238,6 @@ public static final class Builder {
public Builder(final JsonResourceManager resourceMgr, final int numberOfRecords, final Appendable stream,
final int... revisions) {
this.numberOfRecords = numberOfRecords;
maxLevel = -1;
nodeKey = 0;
this.resourceMgr = checkNotNull(resourceMgr);
this.stream = checkNotNull(stream);
Expand Down

0 comments on commit b4b959c

Please sign in to comment.