org.eclipse.edje/src/main/java/org/eclipse/edje/io/AbstractConnectionOutputStream.java
@Override
	public final void close() throws IOException {
		synchronized (connection) {
			if (isClosed) {
				// stream already closed
				return;
			}

			// stream is closed for sure now
			isClosed = true;

			// close the hardware stream
			hardwareClose();

			// try to close the connection
			connection.removeOutputStream();
		}
	}
/**
	 * Close the stream, the hardware stream and the {@link AbstractConnection}
	 * if it is ready to be closed. Nothing occurs when the stream is already
	 * closed.
	 */
Close the stream, the hardware stream and the  AbstractConnection
if it is ready to be closed. Nothing occurs when the stream is already
closed.
Close the stream the hardware stream and the AbstractConnection if it is ready to be closed . Nothing occurs when the stream is already closed .
@Override
	public final void close() throws IOException {
		synchronized (connection) {
			if (isClosed) {
				return;
			}
			isClosed = true;
			hardwareClose();
			connection.removeOutputStream();
		}
	}
@ Override public final void close ( ) throws IOException { synchronized ( connection ) { if ( isClosed ) { return ; } isClosed = true ; hardwareClose ( ) ; connection . removeOutputStream ( ) ; } }
Close the stream, the hardware stream and the {@link AbstractConnection}
 if it is ready to be closed.
Close the stream the hardware stream and the { @link AbstractConnection } if it is ready to be closed .
// stream already closed // stream is closed for sure now // close the hardware stream // try to close the connection