db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6534) Remove StorageFile.getURL() and its implementations
Date Tue, 01 Apr 2014 07:20:15 GMT

     [ 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)

Mime
View raw message