-
Notifications
You must be signed in to change notification settings - Fork 711
ci: fix the google style error in lint task in GitHub Actions #1695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,8 +51,7 @@ private static Payload newPayload(String clientId) { | |
public void testBuilder() throws Exception { | ||
GoogleIdTokenVerifier.Builder builder = | ||
new GoogleIdTokenVerifier.Builder( | ||
new GooglePublicKeysManagerTest.PublicCertsMockHttpTransport(), | ||
new GsonFactory()) | ||
new GooglePublicKeysManagerTest.PublicCertsMockHttpTransport(), new GsonFactory()) | ||
.setIssuer(ISSUER) | ||
.setAudience(TRUSTED_CLIENT_IDS); | ||
assertEquals(Clock.SYSTEM, builder.getClock()); | ||
|
@@ -70,8 +69,7 @@ public void testBuilder() throws Exception { | |
public void testVerify() throws Exception { | ||
GoogleIdTokenVerifier verifier = | ||
new GoogleIdTokenVerifier.Builder( | ||
new GooglePublicKeysManagerTest.PublicCertsMockHttpTransport(), | ||
new GsonFactory()) | ||
new GooglePublicKeysManagerTest.PublicCertsMockHttpTransport(), new GsonFactory()) | ||
Comment on lines
-73
to
+72
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
.build(); | ||
Header header = new Header(); | ||
header.setAlgorithm("RS25"); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,8 +101,7 @@ public LowLevelHttpResponse execute() { | |
|
||
public void testRefresh() throws Exception { | ||
GooglePublicKeysManager certs = | ||
new GooglePublicKeysManager.Builder( | ||
new PublicCertsMockHttpTransport(), new GsonFactory()) | ||
new GooglePublicKeysManager.Builder(new PublicCertsMockHttpTransport(), new GsonFactory()) | ||
.build(); | ||
Comment on lines
-104
to
105
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
certs.refresh(); | ||
assertEquals(2, certs.getPublicKeys().size()); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
import com.google.api.client.googleapis.testing.services.MockGoogleClient; | ||
import com.google.api.client.googleapis.testing.services.MockGoogleClientRequest; | ||
import com.google.api.client.http.ByteArrayContent; | ||
import com.google.api.client.http.ExponentialBackOffPolicy; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
import com.google.api.client.http.GenericUrl; | ||
import com.google.api.client.http.HttpContent; | ||
import com.google.api.client.http.HttpExecuteInterceptor; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,5 @@ | |
"checkstyle.xml", | ||
"renovate.json", | ||
"license-checks.xml", | ||
".github/workflows/ci.yaml", | ||
]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mvn com.coveo:fmt-maven-plugin:format
changed this line.