You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2020/06/09 07:51:54 UTC
[incubator-tuweni] 03/04: Fix import order
This is an automated email from the ASF dual-hosted git repository.
toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git
commit 4736dfcd57331485097ff43a842675af8244d5b7
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Tue Jun 9 00:51:05 2020 -0700
Fix import order
---
.../src/main/kotlin/org/apache/tuweni/discovery/DNSDaemon.kt | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dns-discovery/src/main/kotlin/org/apache/tuweni/discovery/DNSDaemon.kt b/dns-discovery/src/main/kotlin/org/apache/tuweni/discovery/DNSDaemon.kt
index d915c83..cb79ae7 100644
--- a/dns-discovery/src/main/kotlin/org/apache/tuweni/discovery/DNSDaemon.kt
+++ b/dns-discovery/src/main/kotlin/org/apache/tuweni/discovery/DNSDaemon.kt
@@ -21,13 +21,12 @@ import org.xbill.DNS.Resolver
import org.xbill.DNS.SimpleResolver
import java.util.Timer
import java.util.TimerTask
-import java.util.concurrent.atomic.AtomicReference
/**
* Resolves DNS records over time, refreshing records.
*
* @param enrLink the ENR link to start with, of the form enrtree://PUBKEY@domain
- * @param listeners Listeners notified when records are read and whenever they are updated.
+ * @param listeners Listeners notified when records are read and whenever they are updated.
* @param dnsServer the DNS server to use for DNS query. If null, the default DNS server will be used.
* @param seq the sequence number of the root record. If the root record seq is higher, proceed with visit.
* @param period the period at which to poll DNS records
@@ -35,7 +34,7 @@ import java.util.concurrent.atomic.AtomicReference
*/
public class DNSDaemon @JvmOverloads constructor(
private val enrLink: String,
- val listeners : Set<(List<EthereumNodeRecord>) -> Unit> = HashSet(),
+ val listeners: Set<(List<EthereumNodeRecord>) -> Unit> = HashSet(),
private val seq: Long = 0,
private val period: Long = 60000L,
private val dnsServer: String? = null,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org