Skip to content

Commit

Permalink
Add a couple of TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-petrov committed Mar 10, 2021
1 parent 18dd2c6 commit 1d5815f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1228,6 +1228,7 @@ public FileName getName() {
return fileName;
}

// TODO: remove this method for the next major version as it is unused
/**
* Prepares this file for writing. Makes sure it is either a file, or its parent folder exists. Returns an output
* stream to use to write the content of the file to.
Expand All @@ -1239,6 +1240,8 @@ public OutputStream getOutputStream() throws FileSystemException {
return getOutputStream(false);
}

// TODO: mark this method as `final` and package-private for the next major version because
// it shouldn't be used from anywhere other than `DefaultFileContent`
/**
* Prepares this file for writing. Makes sure it is either a file, or its parent folder exists. Returns an output
* stream to use to write the content of the file to.
Expand Down

0 comments on commit 1d5815f

Please sign in to comment.