This commit fixes a bug where an IllegalStateException was thrown if the minPort and maxPort values supplied to SocketUtils.findAvailableTcpPort(int, int) were identical.
This commit fixes a bug where an IllegalStateException was thrown if the minPort and maxPort values supplied to SocketUtils.findAvailableTcpPort(int, int) were identical.