[
https://issues.apache.org/jira/browse/ARIES-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Przybysz closed ARIES-252.
----------------------------------
Closing Application related issues as Application module is removed
> DirectoryImpl.getFile returns FileImpl for Directories.
> -------------------------------------------------------
>
> Key: ARIES-252
> URL: https://issues.apache.org/jira/browse/ARIES-252
> Project: Aries
> Issue Type: Bug
> Components: Application
> Reporter: Andrew Osborne
> Assignee: Andrew Osborne
> Priority: Major
>
> DirectoryImpl.getFile returns FileImpl for Files that are directories.
> The IFile.convert approach for FileImpl/DirectoryImpl relies on the
> implementation being the correct class, so this leads to
> IFile.isDirectory() being true, while IFile.convert() returns null, which
> breaks the contract defined by the interface.
> The fix corrects the construction logic in getFile to build the appropriate
> implementation class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)