File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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" ));
Original file line number Diff line number Diff 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" ));
You can’t perform that action at this time.
0 commit comments