src/main/java/org/apache/commons/net/io/SocketInputStream.java [42:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        super(stream);
        this.socket = socket;
    }

    /**
     * Closes the stream and immediately afterward closes the referenced socket.
     *
     * @throws IOException If there is an error in closing the stream or socket.
     */
    @Override
    public void close() throws IOException {
        super.close();
        socket.close();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/commons/net/io/SocketOutputStream.java [42:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        super(stream);
        this.socket = socket;
    }

    /**
     * Closes the stream and immediately afterward closes the referenced socket.
     *
     * @throws IOException If there is an error in closing the stream or socket.
     */
    @Override
    public void close() throws IOException {
        super.close();
        socket.close();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



