1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-06 07:45:50 +02:00

[331986] Sort in Remote System Details view shows wrong results

This commit is contained in:
David McKnight 2010-12-16 17:06:15 +00:00
parent 8931eca396
commit e61c37f193

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2002, 2007 IBM Corporation and others. * Copyright (c) 2002, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -12,7 +12,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * David McKnight (IBM) - [331986] Sort in Remote System Details view shows wrong results
*******************************************************************************/ *******************************************************************************/
package org.eclipse.rse.internal.ui.view; package org.eclipse.rse.internal.ui.view;
@ -87,9 +87,6 @@ public class SystemTableViewSorter extends ViewerSorter
Object n1 = name1; Object n1 = name1;
Object n2 = name2; Object n2 = name2;
if (n1.toString().length() == 0)
return 1;
if (isReversed()) if (isReversed())
{ {
n1 = name2; n1 = name2;