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.

Reply via email to