File tree Expand file tree Collapse file tree 5 files changed +16
-1
lines changed
minidns-android21/src/main/java/org/minidns/dnsserverlookup/android21
minidns-async/src/main/java/org/minidns/source/async Expand file tree Collapse file tree 5 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 14
14
matrix :
15
15
java :
16
16
- 11
17
+ - 15
17
18
env :
18
19
PRIMARY_JAVA_VERSION : 11
19
20
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ allprojects {
119
119
}
120
120
121
121
jacoco {
122
- toolVersion = " 0.8.4 "
122
+ toolVersion = " 0.8.6 "
123
123
}
124
124
125
125
jacocoTestReport {
Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ public static AndroidUsingLinkProperties setup(Context context) {
50
50
return androidUsingLinkProperties ;
51
51
}
52
52
53
+ /**
54
+ * Construct this DNS server lookup mechanism.
55
+ *
56
+ * @param context an Android context.
57
+ */
53
58
public AndroidUsingLinkProperties (Context context ) {
54
59
super (AndroidUsingLinkProperties .class .getSimpleName (), AndroidUsingExec .PRIORITY - 1 );
55
60
connectivityManager = (ConnectivityManager ) context .getSystemService (Context .CONNECTIVITY_SERVICE );
Original file line number Diff line number Diff line change 37
37
import org .minidns .source .AbstractDnsDataSource .QueryMode ;
38
38
import org .minidns .util .MultipleIoException ;
39
39
40
+ /**
41
+ * A DNS request that is performed asynchronously.
42
+ */
40
43
public class AsyncDnsRequest {
41
44
42
45
private static final Logger LOGGER = Logger .getLogger (AsyncDnsRequest .class .getName ());
Original file line number Diff line number Diff line change 37
37
import org .minidns .dnsqueryresult .DnsQueryResult ;
38
38
import org .minidns .source .AbstractDnsDataSource ;
39
39
40
+ /**
41
+ * A DNS data sources that resolves requests via the network asynchronously.
42
+ */
40
43
public class AsyncNetworkDataSource extends AbstractDnsDataSource {
41
44
45
+ /**
46
+ * The logger of this data source.
47
+ */
42
48
protected static final Logger LOGGER = Logger .getLogger (AsyncNetworkDataSource .class .getName ());
43
49
44
50
private static final int REACTOR_THREAD_COUNT = 1 ;
You can’t perform that action at this time.
0 commit comments