Skip to content

Commit

Permalink
refactor: mark ctor with annotation
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Pepin-Perreault <43373+npepinpe@users.noreply.github.com>
(cherry picked from commit 97fc61f)
  • Loading branch information
ChrisKujawa authored and github-actions[bot] committed Dec 20, 2022
1 parent 2b9c020 commit 94cf82c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import io.atomix.utils.concurrent.OrderedFuture;
import io.atomix.utils.net.Address;
import io.camunda.zeebe.util.StringUtil;
import io.camunda.zeebe.util.VisibleForTesting;
import io.netty.bootstrap.Bootstrap;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.buffer.ByteBuf;
Expand Down Expand Up @@ -136,6 +137,7 @@ public NettyMessagingService(
initAddresses(config);
}

@VisibleForTesting
// duplicated for tests - to inject channel pool
NettyMessagingService(
final String cluster,
Expand Down

0 comments on commit 94cf82c

Please # to comment.