You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/02/15 20:44:59 UTC

[jira] Closed: (DIRSERVER-1199) Improperly named/missing getter/setter for Registries SchemaLoader

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

Emmanuel Lecharny closed DIRSERVER-1199.
----------------------------------------


closed

> 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.