[
https://issues.apache.org/jira/browse/DIRSTUDIO-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kasun Lakpriya resolved DIRSTUDIO-676.
--------------------------------------
Resolution: Fixed
Issue is resolved.
http://code.google.com/p/dirstudio-ldap-tooling/source/detail?r=63
> 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.