directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-1199) Improperly named/missing getter/setter for Registries SchemaLoader
Date Wed, 19 Nov 2008 10:53:44 GMT

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

Emmanuel Lecharny updated DIRSERVER-1199:
-----------------------------------------

    Fix Version/s: 1.5.5

> Improperly named/missing getter/setter for Registries SchemaLoader
> ------------------------------------------------------------------
>
>                 Key: DIRSERVER-1199
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1199
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.3
>            Reporter: Icky Dude
>             Fix For: 1.5.5
>
>
> The current interface declaration for  Registries looks like this:
> public interface Registries
> {
>     ....
>     SchemaLoader setSchemaLoader();
>     ....
> }
> At first glance it was confusing, but In fact, this "setter" is actually a "getter".
 The existence of a "getter" is actually what I need because  the ability to get the registry
SchemaLoader is crucial for our use ApacheDS.  However, I think the following Interface declaration
(with a properly named getter and setter) would be better:
> public interface Registries
> {
>     ....
>     SchemaLoader getSchemaLoader();
>     void setSchemaLoader(SchemaLoader schemaLoader);
>     ....
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message