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


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.

Reply via email to