You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2014/04/01 09:20:15 UTC

[jira] [Updated] (DERBY-6534) Remove StorageFile.getURL() and its implementations

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

Knut Anders Hatlen updated DERBY-6534:
--------------------------------------

    Attachment: d6534-1a.diff

The attached patch removes the getURL() method from all classes that implement StorageFile, except CPFile. In CPFile the method is made private. It is also removed from the StorageFile interface.

All regression tests ran cleanly with the patch.

> Remove StorageFile.getURL() and its implementations
> ---------------------------------------------------
>
>                 Key: DERBY-6534
>                 URL: https://issues.apache.org/jira/browse/DERBY-6534
>             Project: Derby
>          Issue Type: Improvement
>          Components: Store
>    Affects Versions: 10.11.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Trivial
>         Attachments: d6534-1a.diff
>
>
> StorageFile.getURL() is only called from CPFile, which is an implementation of StorageFile. The getURL() method could therefore be removed from the StorageFile interface and all its implementation classes except for CPFile, and it could be made private in CPFile.



--
This message was sent by Atlassian JIRA
(v6.2#6252)