Skip to content

Commit

Permalink
fix(connection): Make various classes final as they should be
Browse files Browse the repository at this point in the history
  • Loading branch information
cb0s authored and fussel178 committed Nov 21, 2021
1 parent 5ecc7ff commit cf246fd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import java.util.*;

public class Broadcaster extends AbstractVerticle {
public final class Broadcaster extends AbstractVerticle {

public final static int NO_BROADCASTING = -1;
public final static int DEFAULT_ID = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class StaticSender extends AbstractVerticle {
public final class StaticSender extends AbstractVerticle {

public record Configuration(@JsonProperty String inAddress,
@JsonProperty String outAddress,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.text.BreakIterator;
import java.util.Arrays;

public class TcpDispatcher extends AbstractVerticle {
public final class TcpDispatcher extends AbstractVerticle {

@Override
public void start(Promise<Void> startPromise) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.time.Duration;

public class TcpTimeouts {
public final class TcpTimeouts {
/**
* Close tcp connection after first received packet.
*/
Expand Down

0 comments on commit cf246fd

Please sign in to comment.