Commit 94c121d2 authored by Sudeep Kanav's avatar Sudeep Kanav
Browse files

fixed comparator. GREEN

parent 981f0b15
......@@ -61,7 +61,7 @@ import org.fortiss.tooling.kernel.ui.service.IModelElementHandlerService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 989CF7F45F24FABA5C3D847FAB6C6172
* @ConQAT.Rating GREEN Hash: 2BB6133794ECA2AC2CD4549E08EF2F71
*/
public class DataDictionaryEditor extends EditorBase<DataDictionary> implements
ContextMenuContextProvider {
......@@ -110,7 +110,7 @@ public class DataDictionaryEditor extends EditorBase<DataDictionary> implements
String e2FuncName = ((FunctionDefinition)e2).getFunction().getName();
return e1FuncName.compareToIgnoreCase(e2FuncName);
}
return compare(viewer, e2, e1);
return 1;
} else if(e1 instanceof INamedElement && e2 instanceof INamedElement) {
String e1Name = ((INamedElement)e1).getName();
return e1Name.compareToIgnoreCase(((INamedElement)e2).getName());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment