Skip to content
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

Update gradle and plugin versions, java 14->17 #600

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

aprudhomme
Copy link
Contributor

Update build for 1.0.0-SNAPSHOT to use latest gradle/plugin versions. Also, updated java14 references to java17.

@@ -41,7 +41,8 @@ public class ReplicationServerClient implements Closeable {
public static final int FILE_UPDATE_INTERVAL_MS = 10 * 1000; // 10 seconds

private static final ObjectMapper OBJECT_MAPPER =
new ObjectMapper().configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);;
new ObjectMapper().configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
;
Copy link
Contributor

@sarthakn7 sarthakn7 Oct 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This extra semi-colon can be removed

@@ -101,7 +101,8 @@ public void start() throws IOException {

@Override
public void runBlocking() throws Exception {
while (visit() == false) ;
while (visit() == false)
;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This formatting seems weird. I would prefer having the semi-colon in line with while only. If not maybe we can use empty braces.

Comment on lines +398 to +399
collectorsResult
.get(COLLECTOR_NAME)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the formatter wants toBuilder() on the same line but any other function call in a chain of calls on a different line? Kinda confusing, but I guess we can live with it if it can't be changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I guess this is just what spotless does now

@aprudhomme aprudhomme merged commit c5270cf into Yelp:1.0.0-SNAPSHOT Oct 18, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants