You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2020/01/06 14:46:00 UTC
[jira] [Updated] (VFS-751) Deprecate
org.apache.commons.vfs2.FileUtil for
org.apache.commons.vfs2.util.FileObjectUtils
[ https://issues.apache.org/jira/browse/VFS-751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory updated VFS-751:
--------------------------------
Description:
Deprecate {{org.apache.commons.vfs2.FileUtil}} for {{org.apache.commons.vfs2.util.FileObjectUtils}}
{{org.apache.commons.vfs2.FileUtil}} was misnamed to being with and we have been growing {{org.apache.commons.vfs2.util.FileObjectUtils}} for a while. Let's have a single class for these.
Adds the following to {{org.apache.commons.vfs2.util.FileObjectUtils}}:
* {{getContentAsByteArray(FileObject)}}
* {{writeContent(FileObject, FileObject)}}
* {{writeContent(FileObject, OutputStream)}}
was:
Deprecate {{org.apache.commons.vfs2.FileUtil}} for {{org.apache.commons.vfs2.util.FileObjectUtils}}
{{org.apache.commons.vfs2.FileUtil}} was misnamed to being with and we have been growing {{org.apache.commons.vfs2.util.FileObjectUtils}} for a while. Let's have a single class for these.
> Deprecate org.apache.commons.vfs2.FileUtil for org.apache.commons.vfs2.util.FileObjectUtils
> -------------------------------------------------------------------------------------------
>
> Key: VFS-751
> URL: https://issues.apache.org/jira/browse/VFS-751
> Project: Commons VFS
> Issue Type: Improvement
> Reporter: Gary D. Gregory
> Assignee: Gary D. Gregory
> Priority: Major
>
> Deprecate {{org.apache.commons.vfs2.FileUtil}} for {{org.apache.commons.vfs2.util.FileObjectUtils}}
> {{org.apache.commons.vfs2.FileUtil}} was misnamed to being with and we have been growing {{org.apache.commons.vfs2.util.FileObjectUtils}} for a while. Let's have a single class for these.
> Adds the following to {{org.apache.commons.vfs2.util.FileObjectUtils}}:
> * {{getContentAsByteArray(FileObject)}}
> * {{writeContent(FileObject, FileObject)}}
> * {{writeContent(FileObject, OutputStream)}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)