File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
oauth2_http/java/com/google/auth/oauth2 Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 4444import com .google .api .client .json .JsonObjectParser ;
4545import com .google .api .client .util .GenericData ;
4646import com .google .auth .CredentialTypeForMetrics ;
47- import com .google .auth .Credentials ;
4847import com .google .auth .ServiceAccountSigner ;
4948import com .google .auth .http .HttpCredentialsAdapter ;
5049import 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 {
You can’t perform that action at this time.
0 commit comments