PostelnicuGeorge commented on a change in pull request #236: URL: https://github.com/apache/commons-compress/pull/236#discussion_r775070689
########## File path: src/main/java/org/apache/commons/compress/parallel/FileBasedScatterGatherBackingStore.java ########## @@ -23,21 +23,26 @@ import java.io.InputStream; import java.io.OutputStream; import java.nio.file.Files; +import java.nio.file.Path; /** - * ScatterGatherBackingStore that is backed by a file. + * ScatterGatherBackingStore that is backed by a file or path. * - * @since 1.10 + * @since 1.22 */ public class FileBasedScatterGatherBackingStore implements ScatterGatherBackingStore { - private final File target; + private final Path target; private final OutputStream os; private boolean closed; public FileBasedScatterGatherBackingStore(final File target) throws FileNotFoundException { + this(target.toPath()); + } + + public FileBasedScatterGatherBackingStore(final Path target) throws FileNotFoundException { Review comment: Reverted change to class level javadoc, added a new one at constructor level with since tag. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org