[
https://issues.apache.org/jira/browse/DERBY-6505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Knut Anders Hatlen updated DERBY-6505:
--------------------------------------
Attachment: d6505-3a.diff
The method FileUtil.newFile() is a workaround for a bug that existed in Java
versions before 1.1.8. Derby doesn't run on such old Java versions anymore, so
the workaround is no longer needed.
The attached patch (d6505-3a.diff) removes the method and makes the callers use
java.io.File's constructor directly instead.
All regression tests ran cleanly with the patch.
> Clean up dead code in FileUtil
> ------------------------------
>
> Key: DERBY-6505
> URL: https://issues.apache.org/jira/browse/DERBY-6505
> Project: Derby
> Issue Type: Improvement
> Components: Services
> Affects Versions: 10.11.0.0
> Reporter: Knut Anders Hatlen
> Assignee: Knut Anders Hatlen
> Priority: Minor
> Attachments: d6505-1a.diff, d6505-2a.diff, d6505-3a.diff
>
>
> The iapi.services.io.FileUtil class contains many methods that are no longer
> in use. We should remove those methods.
--
This message was sent by Atlassian JIRA
(v6.2#6252)