Skip to content

Commit bdd9745

Browse files
committed
fix: executed spotless apply
1 parent b87c2e7 commit bdd9745

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libp2p/src/main/java/io/libp2p/protocol/circuit/CircuitHopProtocol.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -316,17 +316,17 @@ public void onMessage(@NotNull Stream stream, Circuit.HopMessage msg) {
316316

317317
// connect these streams with time + bytes enforcement
318318
fromRequestor.pushHandler(new InboundTrafficLimitHandler(resv.maxBytes));
319-
if(resv.durationSeconds > 0){
319+
if (resv.durationSeconds > 0) {
320320
fromRequestor.pushHandler(
321-
new TotalTimeoutHandler(
322-
Duration.of(resv.durationSeconds, ChronoUnit.SECONDS)));
321+
new TotalTimeoutHandler(
322+
Duration.of(resv.durationSeconds, ChronoUnit.SECONDS)));
323323
}
324324

325325
toTarget.pushHandler(new InboundTrafficLimitHandler(resv.maxBytes));
326-
if(resv.durationSeconds > 0){
326+
if (resv.durationSeconds > 0) {
327327
toTarget.pushHandler(
328-
new TotalTimeoutHandler(
329-
Duration.of(resv.durationSeconds, ChronoUnit.SECONDS)));
328+
new TotalTimeoutHandler(
329+
Duration.of(resv.durationSeconds, ChronoUnit.SECONDS)));
330330
}
331331
fromRequestor.pushHandler(new ProxyHandler(toTarget));
332332
toTarget.pushHandler(new ProxyHandler(fromRequestor));

0 commit comments

Comments
 (0)