Skip to content

Commit 00250f7

Browse files
committed
Lint fixes.
1 parent b10703d commit 00250f7

File tree

5 files changed

+4
-9
lines changed

5 files changed

+4
-9
lines changed

google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/AwsCredentialsTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
package com.google.auth.oauth2;
3333

3434
import static com.google.auth.Credentials.GOOGLE_DEFAULT_UNIVERSE;
35-
import static org.junit.jupiter.api.Assertions.fail;
3635
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
3736
import static org.junit.jupiter.api.Assertions.assertEquals;
3837
import static org.junit.jupiter.api.Assertions.assertNotNull;
@@ -57,7 +56,6 @@
5756
import java.util.HashMap;
5857
import java.util.List;
5958
import java.util.Map;
60-
6159
import org.junit.jupiter.api.Assertions;
6260
import org.junit.jupiter.api.Test;
6361

google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/ComputeEngineCredentialsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import static com.google.auth.oauth2.ComputeEngineCredentials.METADATA_RESPONSE_EMPTY_CONTENT_ERROR_MESSAGE;
3535
import static com.google.auth.oauth2.ImpersonatedCredentialsTest.SA_CLIENT_EMAIL;
3636
import static com.google.auth.oauth2.RegionalAccessBoundary.X_ALLOWED_LOCATIONS_HEADER_KEY;
37-
import static org.junit.jupiter.api.Assertions.fail;
3837
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
3938
import static org.junit.jupiter.api.Assertions.assertEquals;
4039
import static org.junit.jupiter.api.Assertions.assertFalse;
@@ -45,6 +44,7 @@
4544
import static org.junit.jupiter.api.Assertions.assertSame;
4645
import static org.junit.jupiter.api.Assertions.assertThrows;
4746
import static org.junit.jupiter.api.Assertions.assertTrue;
47+
import static org.junit.jupiter.api.Assertions.fail;
4848

4949
import com.google.api.client.http.HttpStatusCodes;
5050
import com.google.api.client.http.HttpTransport;

google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountAuthorizedUserCredentialsTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
package com.google.auth.oauth2;
3333

3434
import static com.google.auth.Credentials.GOOGLE_DEFAULT_UNIVERSE;
35-
import static org.junit.jupiter.api.Assertions.fail;
3635
import static org.junit.jupiter.api.Assertions.assertEquals;
3736
import static org.junit.jupiter.api.Assertions.assertFalse;
3837
import static org.junit.jupiter.api.Assertions.assertNotEquals;
@@ -44,7 +43,6 @@
4443
import com.google.api.client.http.HttpTransport;
4544
import com.google.api.client.json.GenericJson;
4645
import com.google.api.client.testing.http.MockLowLevelHttpRequest;
47-
import com.google.api.client.util.Clock;
4846
import com.google.auth.TestUtils;
4947
import com.google.auth.http.AuthHttpConstants;
5048
import com.google.auth.http.HttpTransportFactory;
@@ -63,7 +61,6 @@
6361
import java.util.HashMap;
6462
import java.util.List;
6563
import java.util.Map;
66-
6764
import org.junit.jupiter.api.Assertions;
6865
import org.junit.jupiter.api.BeforeEach;
6966
import org.junit.jupiter.api.Test;

google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/IdentityPoolCredentialsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
import static com.google.auth.oauth2.MockExternalAccountCredentialsTransport.SERVICE_ACCOUNT_IMPERSONATION_URL;
3636
import static com.google.auth.oauth2.OAuth2Utils.JSON_FACTORY;
3737
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
38-
import static org.junit.jupiter.api.Assertions.assertNull;
39-
import static org.junit.jupiter.api.Assertions.fail;
4038
import static org.junit.jupiter.api.Assertions.assertEquals;
4139
import static org.junit.jupiter.api.Assertions.assertNotNull;
40+
import static org.junit.jupiter.api.Assertions.assertNull;
4241
import static org.junit.jupiter.api.Assertions.assertSame;
4342
import static org.junit.jupiter.api.Assertions.assertThrows;
4443
import static org.junit.jupiter.api.Assertions.assertTrue;
44+
import static org.junit.jupiter.api.Assertions.fail;
4545

4646
import com.google.api.client.http.HttpTransport;
4747
import com.google.api.client.json.GenericJson;

google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/ImpersonatedCredentialsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
package com.google.auth.oauth2;
3333

3434
import static com.google.auth.oauth2.RegionalAccessBoundary.X_ALLOWED_LOCATIONS_HEADER_KEY;
35-
import static org.junit.jupiter.api.Assertions.fail;
3635
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
3736
import static org.junit.jupiter.api.Assertions.assertEquals;
3837
import static org.junit.jupiter.api.Assertions.assertFalse;
@@ -42,6 +41,7 @@
4241
import static org.junit.jupiter.api.Assertions.assertSame;
4342
import static org.junit.jupiter.api.Assertions.assertThrows;
4443
import static org.junit.jupiter.api.Assertions.assertTrue;
44+
import static org.junit.jupiter.api.Assertions.fail;
4545
import static org.mockito.Mockito.mock;
4646
import static org.mockito.Mockito.when;
4747

0 commit comments

Comments
 (0)