Skip to content

Commit 53d884e

Browse files
committed
Add a couple of TODOs
1 parent 1a99272 commit 53d884e

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
@@ -1232,6 +1232,7 @@ public FileName getName() {
12321232
return fileName;
12331233
}
12341234

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

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

0 commit comments

Comments
 (0)