Skip to content

Commit b6e6d1a

Browse files
committed
fix: merging mistake.
1 parent 4fc863a commit b6e6d1a

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

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

-18
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
import com.google.api.client.json.JsonObjectParser;
4545
import com.google.api.client.util.GenericData;
4646
import com.google.auth.CredentialTypeForMetrics;
47-
import com.google.auth.Credentials;
4847
import com.google.auth.ServiceAccountSigner;
4948
import com.google.auth.http.HttpCredentialsAdapter;
5049
import com.google.auth.http.HttpTransportFactory;
@@ -502,17 +501,6 @@ public String getUniverseDomain() throws IOException {
502501
return this.sourceCredentials.getUniverseDomain();
503502
}
504503

505-
@Override
506-
boolean isDefaultUniverseDomain() {
507-
try {
508-
return getUniverseDomain().equals(Credentials.GOOGLE_DEFAULT_UNIVERSE);
509-
} catch (IOException e) {
510-
// super method does not throw IOException, so wrap it here.
511-
// This should not happen for this credential type.
512-
throw new IllegalStateException(e);
513-
}
514-
}
515-
516504
@Override
517505
public AccessToken refreshAccessToken() throws IOException {
518506
if (this.sourceCredentials.getAccessToken() == null) {
@@ -789,12 +777,6 @@ public Calendar getCalendar() {
789777
return this.calendar;
790778
}
791779

792-
@Override
793-
public Builder setUniverseDomain(String universeDomain) {
794-
super.setUniverseDomain(universeDomain);
795-
return this;
796-
}
797-
798780
@Override
799781
public ImpersonatedCredentials build() {
800782
try {

0 commit comments

Comments
 (0)