FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Include missing javadoc comments · Issue #909 · googleapis/google-auth-library-java · GitHub

This repository was archived by the owner on May 12, 2026. It is now read-only.
This repository was archived by the owner on May 12, 2026. It is now read-only.

Include missing javadoc comments #909

Description

Should fix javadoc warnings:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.3.2:jar (attach-javadocs) on project google-auth-library-oauth2-http: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/http/HttpCredentialsAdapter.java:73: warning: no @return
[ERROR]   public Credentials getCredentials() {
[ERROR]                      ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:467: warning: no @throws for java.io.IOException
[ERROR]   public abstract String retrieveSubjectToken() throws IOException;
[ERROR]                          ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:496: warning: no @return
[ERROR]   public String getServiceAccountEmail() {
[ERROR]                 ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:537: warning: no @return
[ERROR]   public boolean isWorkforcePoolConfiguration() {
[ERROR]                  ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/OAuth2Credentials.java:364: warning: no @throws for java.io.IOException
[ERROR]   public AccessToken refreshAccessToken() throws IOException {
[ERROR]                      ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:635: warning: no @param for transportFactory
[ERROR]     public Builder setHttpTransportFactory(HttpTransportFactory transportFactory) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:635: warning: no @return
[ERROR]     public Builder setHttpTransportFactory(HttpTransportFactory transportFactory) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:644: warning: no @param for audience
[ERROR]     public Builder setAudience(String audience) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:644: warning: no @return
[ERROR]     public Builder setAudience(String audience) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:653: warning: no @param for subjectTokenType
[ERROR]     public Builder setSubjectTokenType(String subjectTokenType) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:653: warning: no @return
[ERROR]     public Builder setSubjectTokenType(String subjectTokenType) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:659: warning: no @param for tokenUrl
[ERROR]     public Builder setTokenUrl(String tokenUrl) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:659: warning: no @return
[ERROR]     public Builder setTokenUrl(String tokenUrl) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:665: warning: no @param for credentialSource
[ERROR]     public Builder setCredentialSource(CredentialSource credentialSource) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:665: warning: no @return
[ERROR]     public Builder setCredentialSource(CredentialSource credentialSource) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:675: warning: no @param for serviceAccountImpersonationUrl
[ERROR]     public Builder setServiceAccountImpersonationUrl(String serviceAccountImpersonationUrl) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:675: warning: no @return
[ERROR]     public Builder setServiceAccountImpersonationUrl(String serviceAccountImpersonationUrl) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:684: warning: no @param for tokenInfoUrl
[ERROR]     public Builder setTokenInfoUrl(String tokenInfoUrl) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:684: warning: no @return
[ERROR]     public Builder setTokenInfoUrl(String tokenInfoUrl) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:690: warning: no @param for quotaProjectId
[ERROR]     public Builder setQuotaProjectId(String quotaProjectId) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:690: warning: no @return
[ERROR]     public Builder setQuotaProjectId(String quotaProjectId) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:696: warning: no @param for clientId
[ERROR]     public Builder setClientId(String clientId) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:696: warning: no @return
[ERROR]     public Builder setClientId(String clientId) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:702: warning: no @param for clientSecret
[ERROR]     public Builder setClientSecret(String clientSecret) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:702: warning: no @return
[ERROR]     public Builder setClientSecret(String clientSecret) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:708: warning: no @param for scopes
[ERROR]     public Builder setScopes(Collection<String> scopes) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:708: warning: no @return
[ERROR]     public Builder setScopes(Collection<String> scopes) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:718: warning: no @param for workforcePoolUserProject
[ERROR]     public Builder setWorkforcePoolUserProject(String workforcePoolUserProject) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:718: warning: no @return
[ERROR]     public Builder setWorkforcePoolUserProject(String workforcePoolUserProject) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:322: warning: no @param for expression
[ERROR]         public Builder setExpression(String expression) {
[ERROR]                        ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:322: warning: no @return
[ERROR]         public Builder setExpression(String expression) {
[ERROR]                        ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:328: warning: no @param for title
[ERROR]         public Builder setTitle(String title) {
[ERROR]                        ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:328: warning: no @return
[ERROR]         public Builder setTitle(String title) {
[ERROR]                        ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:334: warning: no @param for description
[ERROR]         public Builder setDescription(String description) {
[ERROR]                        ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:334: warning: no @return
[ERROR]         public Builder setDescription(String description) {
[ERROR]                        ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:215: warning: no @param for availableResource
[ERROR]       public Builder setAvailableResource(String availableResource) {
[ERROR]                      ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:215: warning: no @return
[ERROR]       public Builder setAvailableResource(String availableResource) {
[ERROR]                      ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:226: warning: no @param for availablePermissions
[ERROR]       public Builder setAvailablePermissions(List<String> availablePermissions) {
[ERROR]                      ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:226: warning: no @return
[ERROR]       public Builder setAvailablePermissions(List<String> availablePermissions) {
[ERROR]                      ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:237: warning: no @param for availablePermission
[ERROR]       public Builder addAvailablePermission(String availablePermission) {
[ERROR]                      ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:237: warning: no @return
[ERROR]       public Builder addAvailablePermission(String availablePermission) {
[ERROR]                      ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:249: warning: no @param for availabilityCondition
[ERROR]       public Builder setAvailabilityCondition(AvailabilityCondition availabilityCondition) {
[ERROR]                      ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:249: warning: no @return
[ERROR]       public Builder setAvailabilityCondition(AvailabilityCondition availabilityCondition) {
[ERROR]                      ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:124: warning: no @param for rule
[ERROR]     public Builder setRules(List<AccessBoundaryRule> rule) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/CredentialAccessBoundary.java:124: warning: no @return
[ERROR]     public Builder setRules(List<AccessBoundaryRule> rule) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:206: warning: no @param for builder
[ERROR]   protected ExternalAccountCredentials(ExternalAccountCredentials.Builder builder) {
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:161: warning: no @param for transportFactory
[ERROR]   protected ExternalAccountCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:161: warning: no @param for audience
[ERROR]   protected ExternalAccountCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:161: warning: no @param for subjectTokenType
[ERROR]   protected ExternalAccountCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:161: warning: no @param for tokenUrl
[ERROR]   protected ExternalAccountCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:161: warning: no @param for credentialSource
[ERROR]   protected ExternalAccountCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:161: warning: no @param for tokenInfoUrl
[ERROR]   protected ExternalAccountCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:161: warning: no @param for serviceAccountImpersonationUrl
[ERROR]   protected ExternalAccountCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:161: warning: no @param for quotaProjectId
[ERROR]   protected ExternalAccountCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:161: warning: no @param for clientId
[ERROR]   protected ExternalAccountCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:161: warning: no @param for clientSecret
[ERROR]   protected ExternalAccountCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java:161: warning: no @param for scopes
[ERROR]   protected ExternalAccountCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/GoogleCredentials.java:222: warning: no @param for refreshMargin
[ERROR]   protected GoogleCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/GoogleCredentials.java:222: warning: no @param for expirationMargin
[ERROR]   protected GoogleCredentials(
[ERROR]             ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/OAuth2CredentialsWithRefresh.java:73: warning: no @return
[ERROR]   public OAuth2RefreshHandler getRefreshHandler() {
[ERROR]                               ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/OAuth2CredentialsWithRefresh.java:98: warning: no @param for handler
[ERROR]     public Builder setRefreshHandler(OAuth2RefreshHandler handler) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/OAuth2CredentialsWithRefresh.java:98: warning: no @return
[ERROR]     public Builder setRefreshHandler(OAuth2RefreshHandler handler) {
[ERROR]                    ^
[ERROR] /tmpfs/src/github/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/PluggableAuthCredentials.java:90: error: tag not allowed here: <p>
[ERROR]  * <p>Please see this repositories README for a complete executable request/response specification.
[ERROR]    ^

Metadata

Metadata

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL