Skip to content

Commit d5cba79

Browse files
authored
Fix create method (this method is not used at runtime because this class gets replaced with the OTel version) (#7451)
1 parent 4f97ed1 commit d5cba79

File tree

1 file changed

+1
-1
lines changed
  • dd-java-agent/agent-otel/otel-bootstrap/src/main/java/datadog/trace/bootstrap/otel/instrumentation/api/incubator/semconv/db

1 file changed

+1
-1
lines changed

dd-java-agent/agent-otel/otel-bootstrap/src/main/java/datadog/trace/bootstrap/otel/instrumentation/api/incubator/semconv/db/SqlStatementInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public final class SqlStatementInfo {
88
private final String table;
99

1010
public static SqlStatementInfo create(String statement, String operation, String table) {
11-
return null;
11+
return new SqlStatementInfo(statement, operation, table);
1212
}
1313

1414
private SqlStatementInfo(String statement, String operation, String table) {

0 commit comments

Comments
 (0)