Skip to content

Commit

Permalink
Restyled by google-java-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and joonhaengHeo committed Sep 3, 2024
1 parent 8c279fa commit 1111973
Showing 1 changed file with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,27 +122,27 @@ public void run() {
};

mResolveExecutorService.execute(
() -> {
if (nsdManagerResolverAvailState != null) {
nsdManagerResolverAvailState.acquireResolver();
}
() -> {
if (nsdManagerResolverAvailState != null) {
nsdManagerResolverAvailState.acquireResolver();
}

ScheduledFuture<?> resolveTimeoutExecutor =
Executors.newSingleThreadScheduledExecutor()
.schedule(timeoutRunnable, timeout, TimeUnit.MILLISECONDS);
ScheduledFuture<?> resolveTimeoutExecutor =
Executors.newSingleThreadScheduledExecutor()
.schedule(timeoutRunnable, timeout, TimeUnit.MILLISECONDS);

NsdServiceFinderAndResolver serviceFinderResolver =
new NsdServiceFinderAndResolver(
this.nsdManager,
serviceInfo,
callbackHandle,
contextHandle,
chipMdnsCallback,
multicastLock,
resolveTimeoutExecutor,
nsdManagerResolverAvailState);
serviceFinderResolver.start();
});
NsdServiceFinderAndResolver serviceFinderResolver =
new NsdServiceFinderAndResolver(
this.nsdManager,
serviceInfo,
callbackHandle,
contextHandle,
chipMdnsCallback,
multicastLock,
resolveTimeoutExecutor,
nsdManagerResolverAvailState);
serviceFinderResolver.start();
});
}

@Override
Expand Down

0 comments on commit 1111973

Please sign in to comment.