spring-geode/src/main/java/org/springframework/geode/core/io/support/FileResourceWriter.java
/**
	 * Decorates the given {@link OutputStream} by adding buffering capabilities.
	 *
	 * @param outputStream {@link OutputStream} to decorate.
	 * @return the decorated {@link OutputStream}.
	 * @see #newFileOutputStream()
	 * @see java.io.OutputStream
	 */
Decorates the given  OutputStream by adding buffering capabilities.
@param outputStream  OutputStream to decorate.
@return the decorated  OutputStream.
Decorates the given OutputStream by adding buffering capabilities . @param outputStream OutputStream to decorate . @return the decorated OutputStream .
protected @NonNull OutputStream decorate(@Nullable OutputStream outputStream) {
		return outputStream instanceof BufferedOutputStream ? outputStream
			: outputStream != null ? new BufferedOutputStream(outputStream, getBufferSize())
			: newFileOutputStream();
	}
protected @ NonNull OutputStream decorate ( @ Nullable OutputStream outputStream ) { return outputStream instanceof BufferedOutputStream ? outputStream : outputStream != null ? new BufferedOutputStream ( outputStream , getBufferSize ( ) ) : newFileOutputStream ( ) ; }
Decorates the given {@link OutputStream} by adding buffering capabilities.
Decorates the given { @link OutputStream } by adding buffering capabilities .