Skip to content

feat(gax): add getSingleHeader to HttpHeadersUtils - #14137

Open
whowes wants to merge 1 commit into
whowes/start-unary-callfrom
whowes/get-first-header
Open

feat(gax): add getSingleHeader to HttpHeadersUtils#14137
whowes wants to merge 1 commit into
whowes/start-unary-callfrom
whowes/get-first-header

feat(gax): add getFirstHeader to HttpHeadersUtils

2fca609
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [gapic-generator-java-root] SonarCloud Code Analysis failed Aug 28, 2026 in 40s

Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 79 in sdk-platform-java/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpHeadersUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis

Change this condition so that it does not always evaluate to "true"

See more on https://sonarcloud.io/project/issues?id=googleapis_google-cloud-java_showcase&issues=AaBAtMPGSTKGRJQNxcg5&open=AaBAtMPGSTKGRJQNxcg5&pullRequest=14137

Check warning on line 78 in sdk-platform-java/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpHeadersUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis

Annotate the parameter with @javax.annotation.Nullable in method 'getOnlyElement' declaration, or make sure that null can not be passed as argument.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-cloud-java_showcase&issues=AaBAtMPGSTKGRJQNxcg6&open=AaBAtMPGSTKGRJQNxcg6&pullRequest=14137