Skip to content

Commit ac6d276

Browse files
committed
Add a couple of TODOs
1 parent 093890c commit ac6d276

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/AbstractFileObject.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,6 +1228,7 @@ public FileName getName() {
12281228
return fileName;
12291229
}
12301230

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

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

0 commit comments

Comments
 (0)