Skip to content

Commit

Permalink
Remove defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Dec 3, 2024
1 parent 0a52187 commit 27b77b5
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions js/src/Ice/Connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class ConnectionInfo {
* Provides access to the connection details of an IP connection
**/
export class IPConnectionInfo extends ConnectionInfo {
constructor(adapterName, connectionId, localAddress = "", localPort = -1, remoteAddress = "", remotePort = -1) {
constructor(adapterName, connectionId, localAddress, localPort, remoteAddress, remotePort) {
super(null, adapterName, connectionId);
this._localAddress = localAddress;
this._localPort = localPort;
Expand Down Expand Up @@ -64,15 +64,7 @@ export class IPConnectionInfo extends ConnectionInfo {
* Provides access to the connection details of a TCP connection
**/
export class TCPConnectionInfo extends IPConnectionInfo {
constructor(
adapterName,
connectionId,
localAddress = "",
localPort = -1,
remoteAddress = "",
remotePort = -1,
sndSize = 0,
) {
constructor(adapterName, connectionId, localAddress, localPort, remoteAddress, remotePort, sndSize) {
super(adapterName, connectionId, localAddress, localPort, remoteAddress, remotePort);
this._sndSize = sndSize;
}
Expand Down

0 comments on commit 27b77b5

Please sign in to comment.