Skip to content

Commit

Permalink
Make AbstractFileObject.getOutputStream final and package-private
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-petrov committed Dec 16, 2020
1 parent 7908309 commit 67ea3a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ public FileName getName() {
* @return An OutputStream where the new contents of the file can be written.
* @throws FileSystemException if an error occurs.
*/
public OutputStream getOutputStream() throws FileSystemException {
final OutputStream getOutputStream() throws FileSystemException {
return getOutputStream(false);
}

Expand All @@ -1253,7 +1253,7 @@ public OutputStream getOutputStream() throws FileSystemException {
* @throws FileSystemException if an error occurs; for example:
* bAppend is true, and the underlying FileSystem does not support it
*/
public OutputStream getOutputStream(final boolean bAppend) throws FileSystemException {
final OutputStream getOutputStream(final boolean bAppend) throws FileSystemException {
/*
* VFS-210 if (getType() != FileType.IMAGINARY && !getType().hasContent()) { throw new
* FileSystemException("vfs.provider/write-not-file.error", name); } if (!isWriteable()) { throw new
Expand Down

0 comments on commit 67ea3a7

Please sign in to comment.