Skip to content

Commit c52ecaf

Browse files
Timur Sadykovgcf-owl-bot[bot]
andauthored
chore: using full package names to avoid incorrect import merge (#1193)
* fix bogus import error by changing import order * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * exclude ExternalAccount from owl bot * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * disable import order * change imports again * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * disabling owl bot * moving import * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * removing owlbot lock file to disable it * Revert "removing owlbot lock file to disable it" This reverts commit 59cb9a7. * Revert "disabling owl bot" This reverts commit 5498061. * re-enable owlbot and revert poc config changes --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 51fd1fa commit c52ecaf

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

.github/.OwlBot.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright 2021 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
docker:
16+
image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest"

oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
import com.google.common.base.MoreObjects;
4444
import java.io.IOException;
4545
import java.io.InputStream;
46-
import java.io.Serializable;
4746
import java.math.BigDecimal;
4847
import java.net.URI;
4948
import java.nio.charset.StandardCharsets;
@@ -69,7 +68,7 @@ public abstract class ExternalAccountCredentials extends GoogleCredentials {
6968
private static final long serialVersionUID = 8049126194174465023L;
7069

7170
/** Base credential source class. Dictates the retrieval method of the external credential. */
72-
abstract static class CredentialSource implements Serializable {
71+
abstract static class CredentialSource implements java.io.Serializable {
7372

7473
private static final long serialVersionUID = 8204657811562399944L;
7574

@@ -641,7 +640,7 @@ private static boolean isValidUrl(String url) {
641640
* }
642641
* </pre>
643642
*/
644-
static final class ServiceAccountImpersonationOptions implements Serializable {
643+
static final class ServiceAccountImpersonationOptions implements java.io.Serializable {
645644

646645
private static final long serialVersionUID = 4250771921886280953L;
647646
private static final int DEFAULT_TOKEN_LIFETIME_SECONDS = 3600;

owlbot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
".kokoro/nightly/integration.cfg",
3737
".kokoro/presubmit/integration.cfg",
3838
".kokoro/presubmit/graalvm-native.cfg",
39-
".kokoro/presubmit/graalvm-native-17.cfg",
40-
"oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java"
39+
".kokoro/presubmit/graalvm-native-17.cfg"
4140
]
4241
)

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@
214214
<version>2.13</version>
215215
<configuration>
216216
<verbose>true</verbose>
217-
<skipSortingImports>true</skipSortingImports>
218217
</configuration>
219218
</plugin>
220219
<plugin>

0 commit comments

Comments
 (0)