Skip to content

Commit eb54545

Browse files
committed
method is implemented everywhere
1 parent 95f0e5e commit eb54545

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

instrumentation-api-incubator/src/main/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/SqlClientAttributesGetter.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55

66
package io.opentelemetry.instrumentation.api.incubator.semconv.db;
77

8-
import static java.util.Collections.emptySet;
9-
import static java.util.Collections.singleton;
10-
118
import java.util.Collection;
129
import java.util.Collections;
1310
import java.util.Map;
@@ -58,11 +55,7 @@ default String getRawQueryText(REQUEST request) {
5855
* <p>If {@code request} is not a batch query, then this method should return a collection with a
5956
* single element.
6057
*/
61-
// TODO: make this required to implement
62-
default Collection<String> getRawQueryTexts(REQUEST request) {
63-
String rawQueryText = getRawQueryText(request);
64-
return rawQueryText == null ? emptySet() : singleton(rawQueryText);
65-
}
58+
Collection<String> getRawQueryTexts(REQUEST request);
6659

6760
// TODO: make this required to implement
6861
@Nullable

0 commit comments

Comments
 (0)