Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changed parameter names and tags as requested
  • Loading branch information
robtimus committed Dec 8, 2020
commit 8bdc5130c4e39db4524e657bda09260d6d9fcc01
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ public void close() {
* Creates a proxy that shields the given input stream from being
* closed.
*
* @param in underlying input stream
* @param inputStream the input stream to wrap
* @return the created proxy
* @since 2.9.0
*/
public static CloseShieldInputStream wrap(final InputStream in) {
return new CloseShieldInputStream(in);
public static CloseShieldInputStream wrap(final InputStream inputStream) {
return new CloseShieldInputStream(inputStream);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ public void close() {
* Creates a proxy that shields the given reader from being
* closed.
*
* @param in underlying reader
* @param reader the reader to wrap
* @return the created proxy
* @since 2.9.0
*/
public static CloseShieldReader wrap(final Reader in) {
return new CloseShieldReader(in);
public static CloseShieldReader wrap(final Reader reader) {
return new CloseShieldReader(reader);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ public void close() {
* Creates a proxy that shields the given output stream from being
* closed.
*
* @param out underlying output stream
* @param outputStream the output stream to wrap
* @return the created proxy
* @since 2.9.0
*/
public static CloseShieldOutputStream wrap(final OutputStream out) {
return new CloseShieldOutputStream(out);
public static CloseShieldOutputStream wrap(final OutputStream outputStream) {
return new CloseShieldOutputStream(outputStream);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ public void close() {
/**
* Creates a proxy that shields the given writer from being closed.
*
* @param out underlying writer
* @param writer the writer to wrap
* @return the created proxy
* @since 2.9.0
*/
public static CloseShieldWriter wrap(final Writer out) {
return new CloseShieldWriter(out);
public static CloseShieldWriter wrap(final Writer writer) {
return new CloseShieldWriter(writer);
}

}