Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-112

Review Package Names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-M18
    • None

    Description

      The package names should be reviewed. Package names are not consistent and IMHO too long. So here I just put some questions and ideas.

      Example from ldap-model:
      org.apache.directory.shared.ldap.model.name.Dn

      • Do we need the shared in package names? I think we can remove it, everything that doesn't start with o.a.d.studio or o.a.d.server in the name is implicitly a 'shared' package.
      • Should we keep the model in package names? While I understand that during refactoring it's easier to see the model packages, it isn't common in other APIs.

      The result could be: org.apache.directory.ldap.name.Dn

      Example from ldap-client-api:
      org.apache.directory.ldap.client.api.LdapConnection

      • Do we need the 'client.api' in package names? I think we can remove it, everything with o.a.d.ldap in the name is implicitly the LDAP API.

      The result could be: org.apache.directory.ldap.LdapConnection

      Attachments

        Activity

          People

            Unassigned Unassigned
            seelmann Stefan Seelmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: