Skip to content

Commit 8bc1acb

Browse files
committed
Add a couple of TODOs
1 parent 2143cfa commit 8bc1acb

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

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

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

0 commit comments

Comments
 (0)