Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id("otel.javaagent-instrumentation")
id("otel.nullaway-conventions")
}

muzzle {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import java.util.Map;
import java.util.Properties;
import java.util.logging.Logger;
import javax.annotation.Nullable;

/**
* Parses JDBC connection URLs to extract database connection information.
Expand Down Expand Up @@ -114,7 +115,7 @@ private JdbcConnectionUrlParser() {}
* @return the parsed DbInfo, or DbInfo.DEFAULT for null/invalid non-JDBC inputs; parser failures
* return the best-effort result accumulated before the failure
*/
public static DbInfo parse(String connectionUrl, Properties props) {
public static DbInfo parse(@Nullable String connectionUrl, @Nullable Properties props) {
if (connectionUrl == null) {
return DEFAULT;
}
Expand Down
Loading