| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.datamodel; |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public int compareTo(Object o) |
| | | public int compareTo(AbstractIndexDescriptor o) |
| | | { |
| | | int returnValue = -1; |
| | | if (o instanceof AbstractIndexDescriptor) |
| | | { |
| | | AbstractIndexDescriptor index = (AbstractIndexDescriptor)o; |
| | | returnValue = getName().compareTo(index.getName()); |
| | | } |
| | | return returnValue; |
| | | return getName().compareTo(o.getName()); |
| | | } |
| | | |
| | | /** |