mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
06.39.2010 cd0daf51edd2805cdaef032ab5e96553fb672165
opends/src/guitools/org/opends/guitools/controlpanel/ui/LDAPEntryPanel.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2008-2009 Sun Microsystems, Inc.
 *      Copyright 2008-2010 Sun Microsystems, Inc.
 */
package org.opends.guitools.controlpanel.ui;
@@ -36,7 +36,7 @@
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.Set;
import java.util.List;
import javax.swing.JButton;
import javax.swing.JPanel;
@@ -606,7 +606,7 @@
    // Rely in numsubordinates...
    boolean isLeaf = true;
    Set<Object> o = searchResult.getAttributeValues("numsubordinates");
    List<Object> o = searchResult.getAttributeValues("numsubordinates");
    if (!o.isEmpty())
    {
      int numsubordinates = Integer.parseInt((String)o.iterator().next());