Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Fix deprecation warnings #596

Merged
merged 2 commits into from
Jan 17, 2019
Merged

Fix deprecation warnings #596

merged 2 commits into from
Jan 17, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

Vertx deprecated a few methods which caused some new warnings when building. Two of them have simple replacements (you can now use the router directly instead of needing a method reference) and the other had to be suppressed as the method is being changed in vertx 4 but I don't see a suitable replacement while still on vertx 3.

And while in the files, fix the other warnings IntellIJ flagged (mostly adding final).

@@ -156,7 +155,7 @@ private void validateConfig(final JsonRpcConfiguration config) {
}
httpServer = null;
final Throwable cause = res.cause();
if (cause instanceof BindException || cause instanceof SocketException) {
if (cause instanceof SocketException) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For the record, BindException is a subclass of SocketException.

@ajsutton ajsutton merged commit f3a0d4c into PegaSysEng:master Jan 17, 2019
@ajsutton ajsutton deleted the deprecation branch January 17, 2019 22:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants