From d65e3710383881734fbfe08859a0a4f3b83c925d Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Mon, 29 Jul 2019 00:24:57 -0400 Subject: [PATCH] Fix up the Travis build... --- .travis.yml | 3 +-- .../netty/DnsAddressResolverGroupNameResolverAdapter.java | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ff0d0f19d..3d0c36340 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,5 +7,4 @@ cache: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ jdk: - - openjdk8 - - openjdk11 \ No newline at end of file + - openjdk8 \ No newline at end of file diff --git a/proxy/src/main/java/com/velocitypowered/proxy/network/netty/DnsAddressResolverGroupNameResolverAdapter.java b/proxy/src/main/java/com/velocitypowered/proxy/network/netty/DnsAddressResolverGroupNameResolverAdapter.java index 9de466f84..f76a160c9 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/network/netty/DnsAddressResolverGroupNameResolverAdapter.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/network/netty/DnsAddressResolverGroupNameResolverAdapter.java @@ -17,6 +17,11 @@ public class DnsAddressResolverGroupNameResolverAdapter extends InetNameResolver private final DnsAddressResolverGroup resolverGroup; private final EventLoopGroup group; + /** + * Creates a DnsAddressResolverGroupNameResolverAdapter. + * @param resolverGroup the resolver group to use + * @param group the event loop group + */ public DnsAddressResolverGroupNameResolverAdapter( DnsAddressResolverGroup resolverGroup, EventLoopGroup group) { super(ImmediateEventExecutor.INSTANCE);