commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (VFS-682) Throw a org.apache.commons.vfs2.FileSystemException instead of a NullPointerException in org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(FileName, String, NameScope)
Date Tue, 20 Nov 2018 16:13:00 GMT

     [ https://issues.apache.org/jira/browse/VFS-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Gregory closed VFS-682.
----------------------------
    Resolution: Fixed

in svn trunk.

> Throw a org.apache.commons.vfs2.FileSystemException instead of a NullPointerException
in org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(FileName, String, NameScope)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: VFS-682
>                 URL: https://issues.apache.org/jira/browse/VFS-682
>             Project: Commons VFS
>          Issue Type: Improvement
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>             Fix For: 2.3
>
>
> Throw a {{org.apache.commons.vfs2.FileSystemException}} instead of a {{NullPointerException}}
in {{org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(FileName, String, NameScope)}}
> Since we already throw a {{org.apache.commons.vfs2.FileSystemException}} when {{base}}
is {{null}}, we should also throw the same exception when {{name}} is null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message