directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSTUDIO-676) SchemaUtils.getSpecificStructuralObjectClass() issues
Date Mon, 12 Jul 2010 12:11:49 GMT
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


- 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