@@ -49,7 +49,8 @@ void getAggregationTemporality() {
4949
5050 @ Test
5151 void getAggregationTemporalityWithWrapperJsonObject () {
52- // Test that the new create method with wrapperJsonObject parameter maintains correct aggregation temporality
52+ // Test that the new create method with wrapperJsonObject parameter maintains correct
53+ // aggregation temporality
5354 assertThat (
5455 OtlpJsonLoggingMetricExporter .create (AggregationTemporality .CUMULATIVE , false )
5556 .getAggregationTemporality (InstrumentType .COUNTER ))
@@ -84,7 +85,8 @@ void log() throws Exception {
8485 @ Test
8586 void logWithWrapperJsonObjectFalse () throws Exception {
8687 // Test that wrapperJsonObject=false produces the same output as the default create()
87- MetricExporter exporterWithoutWrapper = OtlpJsonLoggingMetricExporter .create (AggregationTemporality .CUMULATIVE , false );
88+ MetricExporter exporterWithoutWrapper =
89+ OtlpJsonLoggingMetricExporter .create (AggregationTemporality .CUMULATIVE , false );
8890 testDataExporter .export (exporterWithoutWrapper );
8991
9092 assertThat (logs .getEvents ())
@@ -99,7 +101,8 @@ void logWithWrapperJsonObjectFalse() throws Exception {
99101 @ Test
100102 void logWithWrapperJsonObjectTrue () throws Exception {
101103 // Test that wrapperJsonObject=true produces wrapper format (enables low allocation)
102- MetricExporter exporterWithWrapper = OtlpJsonLoggingMetricExporter .create (AggregationTemporality .CUMULATIVE , true );
104+ MetricExporter exporterWithWrapper =
105+ OtlpJsonLoggingMetricExporter .create (AggregationTemporality .CUMULATIVE , true );
103106 testDataExporter .export (exporterWithWrapper );
104107
105108 assertThat (logs .getEvents ())
@@ -114,7 +117,8 @@ void logWithWrapperJsonObjectTrue() throws Exception {
114117 @ Test
115118 void logWithWrapperJsonObjectTrueAndDeltaTemporality () throws Exception {
116119 // Test that wrapperJsonObject=true works with DELTA temporality too
117- MetricExporter exporterWithWrapper = OtlpJsonLoggingMetricExporter .create (AggregationTemporality .DELTA , true );
120+ MetricExporter exporterWithWrapper =
121+ OtlpJsonLoggingMetricExporter .create (AggregationTemporality .DELTA , true );
118122 testDataExporter .export (exporterWithWrapper );
119123
120124 assertThat (logs .getEvents ())
0 commit comments