tests/utils/monitor/org/apache/test/MockServerThread.java
/**
     * Ensure the input and outpustreams are closed
     */
Ensure the input and outpustreams are closed
Ensure the input and outpustreams are closed
protected void close()
    {
        try
        {
            closedConnection=true;
            socket.close();
        }
        catch(IOException exception)
        {
        }
        try
        {
            inputStream.close();
        }
        catch(IOException exception)
        {
        }
        try
        {
            outputStream.close();
        }
        catch(IOException exception)
        {
        }
        responses = null;
        super.close();
    }
protected void close ( ) { try { closedConnection = true ; socket . close ( ) ; } catch ( IOException exception ) { } try { inputStream . close ( ) ; } catch ( IOException exception ) { } try { outputStream . close ( ) ; } catch ( IOException exception ) { } responses = null ; super . close ( ) ; }
Ensure the input and outpustreams are closed
Ensure the input and outpustreams are closed
// swallow exceptions on close //exception.printStackTrace(System.err); // swallow exceptions on close //exception.printStackTrace(System.err); // swallow exceptions on close // exception.printStackTrace(System.err); // just to make sure - clean up the response files