Skip to content

Commit 9f2997a

Browse files
committed
Be consistent
1 parent 7decf3f commit 9f2997a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

instrumentation-api-incubator/src/test/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/DbClientAttributesExtractorTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public String getUser(Map<String, String> map) {
3838
return map.get("db.user");
3939
}
4040

41-
@Nullable
4241
@Override
42+
@Nullable
4343
public String getDbNamespace(Map<String, String> map) {
4444
return map.get(
4545
SemconvStabilityUtil.getAttributeKey(AttributeKey.stringKey("db.name")).getKey());
@@ -51,15 +51,15 @@ public String getConnectionString(Map<String, String> map) {
5151
return map.get("db.connection_string");
5252
}
5353

54-
@Nullable
5554
@Override
55+
@Nullable
5656
public String getDbQueryText(Map<String, String> map) {
5757
return map.get(
5858
SemconvStabilityUtil.getAttributeKey(AttributeKey.stringKey("db.statement")).getKey());
5959
}
6060

61-
@Nullable
6261
@Override
62+
@Nullable
6363
public String getDbOperationName(Map<String, String> map) {
6464
return map.get(
6565
SemconvStabilityUtil.getAttributeKey(AttributeKey.stringKey("db.operation")).getKey());

0 commit comments

Comments
 (0)