View | Details | Raw Unified | Return to bug 197784
Collapse All | Expand All

(-)src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java (-1 / +2 lines)
Lines 26-31 Link Here
26
 * David Dykstal (IBM) - [160776] format file size according to client system conventions and locale
26
 * David Dykstal (IBM) - [160776] format file size according to client system conventions and locale
27
 * David McKnight   (IBM)        - [197089] Need to set the filter when there is no separator in filter string
27
 * David McKnight   (IBM)        - [197089] Need to set the filter when there is no separator in filter string
28
 * David McKnight   (IBM)        - [196662] hasChildren() should return false when the file doesn't exist
28
 * David McKnight   (IBM)        - [196662] hasChildren() should return false when the file doesn't exist
29
 * David McKnight   (IBM)        - [197784] Need to check if last separator is at 0
29
 ********************************************************************************/
30
 ********************************************************************************/
30
31
31
package org.eclipse.rse.internal.files.ui.view;
32
package org.eclipse.rse.internal.files.ui.view;
Lines 602-608 Link Here
602
				String separator = PathUtility.getSeparator(filterString);
603
				String separator = PathUtility.getSeparator(filterString);
603
				
604
				
604
				int sepIndex = filterString.lastIndexOf(separator);
605
				int sepIndex = filterString.lastIndexOf(separator);
605
				if (sepIndex > 0)
606
				if (sepIndex >= 0)
606
				{
607
				{
607
					filter = filterString.substring(sepIndex + 1);
608
					filter = filterString.substring(sepIndex + 1);
608
				}
609
				}

Return to bug 197784