Skip to content

Commit 8cd8645

Browse files
committed
fix
1 parent df0b464 commit 8cd8645

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/InstrumenterTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void onEnd(
8585
AttributesBuilder attributes,
8686
Context context,
8787
Map<String, String> request,
88-
Map<String, String> response,
88+
@Nullable Map<String, String> response,
8989
@Nullable Throwable error) {
9090
attributes.put("resp1", response.get("resp1"));
9191
attributes.put("resp2", response.get("resp2"));
@@ -107,7 +107,7 @@ public void onEnd(
107107
AttributesBuilder attributes,
108108
Context context,
109109
Map<String, String> request,
110-
Map<String, String> response,
110+
@Nullable Map<String, String> response,
111111
@Nullable Throwable error) {
112112
attributes.put("resp3", response.get("resp3"));
113113
attributes.put("resp2", response.get("resp2_2"));

instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/internal/InstrumentationCustomizerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public void onEnd(
336336
AttributesBuilder attributes,
337337
Context context,
338338
Map<String, String> request,
339-
Map<String, String> response,
339+
@Nullable Map<String, String> response,
340340
@Nullable Throwable error) {
341341
attributes.put("resp1", response.get("resp1"));
342342
attributes.put("resp2", response.get("resp2"));
@@ -358,7 +358,7 @@ public void onEnd(
358358
AttributesBuilder attributes,
359359
Context context,
360360
Map<String, String> request,
361-
Map<String, String> response,
361+
@Nullable Map<String, String> response,
362362
@Nullable Throwable error) {
363363
attributes.put("resp3", response.get("resp3"));
364364
attributes.put("resp2", response.get("resp2_2"));

0 commit comments

Comments
 (0)