Skip to content

Commit 4b20d18

Browse files
committed
Connection constructor is now protected
1 parent 90fd1bb commit 4b20d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tk/bartbart333/udp/Connection.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public abstract class Connection extends Thread{
1414

1515
protected abstract void receive(Packet packet);
1616

17-
public Connection(InetAddress ip, int port){
17+
protected Connection(InetAddress ip, int port){
1818
this.ip = ip;
1919
this.port = port;
2020
this.start();

0 commit comments

Comments
 (0)