Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 74556 Details for
Bug 197784
[regression][filters] cannot expand folders below Root filter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
fix to also check for separators at 0
patch.txt (text/plain), 1.47 KB, created by
David McKnight
on 2007-07-25 09:28:51 EDT
(
hide
)
Description:
fix to also check for separators at 0
Filename:
MIME Type:
Creator:
David McKnight
Created:
2007-07-25 09:28:51 EDT
Size:
1.47 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.files.ui >Index: src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java,v >retrieving revision 1.40 >diff -u -r1.40 SystemViewRemoteFileAdapter.java >--- src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java 24 Jul 2007 17:28:49 -0000 1.40 >+++ src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java 25 Jul 2007 13:29:34 -0000 >@@ -26,6 +26,7 @@ > * David Dykstal (IBM) - [160776] format file size according to client system conventions and locale > * David McKnight (IBM) - [197089] Need to set the filter when there is no separator in filter string > * David McKnight (IBM) - [196662] hasChildren() should return false when the file doesn't exist >+ * David McKnight (IBM) - [197784] Need to check if last separator is at 0 > ********************************************************************************/ > > package org.eclipse.rse.internal.files.ui.view; >@@ -602,7 +603,7 @@ > String separator = PathUtility.getSeparator(filterString); > > int sepIndex = filterString.lastIndexOf(separator); >- if (sepIndex > 0) >+ if (sepIndex >= 0) > { > filter = filterString.substring(sepIndex + 1); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197784
: 74556