-
Notifications
You must be signed in to change notification settings - Fork 40
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
Update gradle and plugin versions, java 14->17 #600
Conversation
@@ -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); | |||
; |
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.
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) | |||
; |
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.
This formatting seems weird. I would prefer having the semi-colon in line with while only. If not maybe we can use empty braces.
collectorsResult | ||
.get(COLLECTOR_NAME) |
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.
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.
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.
Hmm, I guess this is just what spotless does now
Update build for
1.0.0-SNAPSHOT
to use latest gradle/plugin versions. Also, updated java14 references to java17.