@@ -314,16 +314,17 @@ public void serializeDatum(
314
314
}
315
315
}
316
316
317
- public void serializeHistogram (
318
- final List <SerializedDatum > completeChunks ,
319
- final ByteBuffer currentChunk ,
320
- final ByteArrayOutputStream chunkStream ,
321
- final AggregatedData data ,
322
- final KairosHistogramAdditionalData additionalData ,
323
- final LongAdder currentChunkPopulationSize ) {
324
- final FQDSN fqdsn = data .getFQDSN ();
325
-
326
- try {
317
+ // CHECKSTYLE.OFF: ExecutableStatementCount - There are a lot of fields, we just need to serialize them
318
+ public void serializeHistogram (
319
+ final List <SerializedDatum > completeChunks ,
320
+ final ByteBuffer currentChunk ,
321
+ final ByteArrayOutputStream chunkStream ,
322
+ final AggregatedData data ,
323
+ final KairosHistogramAdditionalData additionalData ,
324
+ final LongAdder currentChunkPopulationSize ) {
325
+ final FQDSN fqdsn = data .getFQDSN ();
326
+
327
+ try {
327
328
final HistogramStatistic .HistogramSnapshot bins = ((HistogramStatistic .HistogramSupportingData ) data .getSupportingData ())
328
329
.getHistogramSnapshot ();
329
330
final JsonGenerator chunkGenerator = OBJECT_MAPPER .getFactory ().createGenerator (chunkStream , JsonEncoding .UTF8 );
@@ -374,6 +375,7 @@ public void serializeHistogram(
374
375
.log ();
375
376
}
376
377
}
378
+ // CHECKSTYLE.ON: ExecutableStatementCount
377
379
378
380
public void serializeCondition (
379
381
final List <SerializedDatum > completeChunks ,
0 commit comments