79429873

Date: 2025-02-11 11:56:15
Score: 0.5
Natty:
Report link
InetSocketAddress socketAddress = new InetSocketAddress(0);

According javadoc - InetSocketAddress, the used value 0 is documented with

A port number of zero will let the system pick up an ephemeral port in a bind operation.

So just use InetSocketAddress(15684);

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Achim Kraus