We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b52d06b commit 369183dCopy full SHA for 369183d
java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/TranslateOptions.java
@@ -161,10 +161,6 @@ private TranslateOptions(Builder builder) {
161
} else if (builder.apiKey != null) {
162
credentials = null;
163
apiKey = builder.apiKey;
164
- logger.log(
165
- Level.WARNING,
166
- "Ignoring Application Default Credentials {0}: using explicit setting for API key instead.",
167
- ServiceOptions.CREDENTIAL_ENV_NAME);
168
} else if (credentials != null) { // credentials assigned from ADC in superclass constructor
169
apiKey = null;
170
if (getDefaultApiKey() != null) {
0 commit comments