Skip to content

Commit 0cbb404

Browse files
committed
lint fixes.
1 parent 7977f92 commit 0cbb404

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/RegionalAccessBoundary.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ final class RegionalAccessBoundary implements Serializable {
6969
static final long TTL_MILLIS = 6 * 60 * 60 * 1000L; // 6 hours
7070
static final long REFRESH_THRESHOLD_MILLIS = 1 * 60 * 60 * 1000L; // 1 hour
7171

72-
73-
7472
private final String encodedLocations;
7573
private final List<String> locations;
7674
private final long refreshTime;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,8 +1367,7 @@ public String getEnv(String name) {
13671367
};
13681368

13691369
AccessToken token =
1370-
new AccessToken(
1371-
"test-token", new java.util.Date(System.currentTimeMillis() + 3600000L));
1370+
new AccessToken("test-token", new java.util.Date(System.currentTimeMillis() + 3600000L));
13721371

13731372
com.google.auth.mtls.MtlsHttpTransportFactory mockMtlsFactory;
13741373
try {

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ public LowLevelHttpResponse execute() throws IOException {
203203
.setContent(response.toPrettyString());
204204
}
205205

206-
if (url.contains(IAM_ENDPOINT)
207-
|| url.contains(MTLS_IAM_ENDPOINT)) {
206+
if (url.contains(IAM_ENDPOINT) || url.contains(MTLS_IAM_ENDPOINT)) {
208207

209208
if (url.endsWith(REGIONAL_ACCESS_BOUNDARY_URL_END)) {
210209
String normalizedUrl = url.replace(MTLS_IAM_ENDPOINT, IAM_ENDPOINT);

0 commit comments

Comments
 (0)