Skip to content

Commit

Permalink
Merge pull request #114 from Flowdalic/github-actions-java-15
Browse files Browse the repository at this point in the history
GitHub Actions Java 15
  • Loading branch information
Flowdalic authored Sep 15, 2024
2 parents a0e901c + e5b74ce commit 5a64ccc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
matrix:
java:
- 11
- 15
env:
PRIMARY_JAVA_VERSION: 11

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ allprojects {
}

jacoco {
toolVersion = "0.8.4"
toolVersion = "0.8.6"
}

jacocoTestReport {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ public static AndroidUsingLinkProperties setup(Context context) {
return androidUsingLinkProperties;
}

/**
* Construct this DNS server lookup mechanism.
*
* @param context an Android context.
*/
public AndroidUsingLinkProperties(Context context) {
super(AndroidUsingLinkProperties.class.getSimpleName(), AndroidUsingExec.PRIORITY - 1);
connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
import org.minidns.source.AbstractDnsDataSource.QueryMode;
import org.minidns.util.MultipleIoException;

/**
* A DNS request that is performed asynchronously.
*/
public class AsyncDnsRequest {

private static final Logger LOGGER = Logger.getLogger(AsyncDnsRequest.class.getName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@
import org.minidns.dnsqueryresult.DnsQueryResult;
import org.minidns.source.AbstractDnsDataSource;

/**
* A DNS data sources that resolves requests via the network asynchronously.
*/
public class AsyncNetworkDataSource extends AbstractDnsDataSource {

/**
* The logger of this data source.
*/
protected static final Logger LOGGER = Logger.getLogger(AsyncNetworkDataSource.class.getName());

private static final int REACTOR_THREAD_COUNT = 1;
Expand Down

0 comments on commit 5a64ccc

Please sign in to comment.