directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kasun Lakpriya (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (DIRSTUDIO-676) SchemaUtils.getSpecificStructuralObjectClass() issues
Date Wed, 14 Jul 2010 08:43:50 GMT

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

Kasun Lakpriya reassigned DIRSTUDIO-676:
----------------------------------------

    Assignee: Kasun Lakpriya

> SchemaUtils.getSpecificStructuralObjectClass() issues
> -----------------------------------------------------
>
>                 Key: DIRSTUDIO-676
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-676
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-persistence-tooling
>            Reporter: Stefan Seelmann
>            Assignee: Kasun Lakpriya
>
> - Method name should just be getStructuralObjectClass(), the term "structural object
class" is well defined in RFC 4512, "specific" isn't
> - Javadoc is missing
> - The method throws an IndexOutOfBoundsException if the passed list is empty or doesn't
contain an object class description with kind "structural". Better throw an IllegalArgumentException
in that case and note that in the javadoc
> - The method throws an NullPointerException if the passed list is null, Better throw
an IllegalArgumentException in that case
> - If multiple object classes descriptions with kind "structural" are passed and they
are not part of the same superclass chain then the first one is picked. Better throw an IllegalArgumentException
in that case because that is an illegal.

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