Skip to content

Commit

Permalink
Tabs vs. spaces fix.
Browse files Browse the repository at this point in the history
Signed-off-by: pieper <mike.pieper@ser.de>
  • Loading branch information
MikePieperSer committed Sep 29, 2023
1 parent 06a0685 commit aa5e13f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) {
generator.writeKey("took");
generator.write(this.took);

if (null != this.version) {
generator.writeKey("_version");
generator.write(this.version);
}
if (null != this.version) {
generator.writeKey("_version");
generator.write(this.version);
}

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) {
generator.write(this.score);

}
if (null != this.termFreq) {
generator.writeKey("term_freq");
generator.write(this.termFreq);
}
if (null != this.termFreq) {
generator.writeKey("term_freq");
generator.write(this.termFreq);
}

if (ApiTypeHelper.isDefined(this.tokens)) {
generator.writeKey("tokens");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) {

protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) {

if (null != this.fieldStatistics) {
generator.writeKey("field_statistics");
this.fieldStatistics.serialize(generator, mapper);
}
if (null != this.fieldStatistics) {
generator.writeKey("field_statistics");
this.fieldStatistics.serialize(generator, mapper);
}

if (ApiTypeHelper.isDefined(this.terms)) {
generator.writeKey("terms");
Expand Down

0 comments on commit aa5e13f

Please sign in to comment.