Skip to content

Commit 04872cb

Browse files
committed
correct comment
1 parent 62f2dbe commit 04872cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

instrumentation/spring/spring-web/spring-web-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebHttpAttributesGetter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ enum SpringWebHttpAttributesGetter
5959
GET_STATUS_CODE = getStatusCode;
6060
STATUS_CODE_VALUE = statusCodeValue;
6161

62-
// since webflux 7.0
62+
// since spring web 7.0
6363
MethodHandle methodHandle =
6464
findGetHeadersMethod(MethodType.methodType(List.class, String.class, List.class));
6565
if (methodHandle == null) {
66-
// up to webflux 7.0
66+
// up to spring web 7.0
6767
methodHandle =
6868
findGetHeadersMethod(MethodType.methodType(Object.class, Object.class, Object.class));
6969
}

0 commit comments

Comments
 (0)