question: private Set buildSet ( String attrName , Map attributes , Set resultSet ) { Set vals = ( Set ) attributes . get ( attrName ) ; if ( ( vals != null ) && ! vals . isEmpty ( ) ) { resultSet . addAll ( vals ) ; } return ( resultSet ) ; }
target:  Builds and returns the appropriate Set for the attributes to be merged from org and realm if the system is in intrusive mode (Both org DIT and realm DIT are present). This happens when the Copy Config flag is enabled.