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 74162 Details for
Bug 192724
[ftp] New Filter with Show Files Only still shows folders
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch using isRightType(fileType, f)
patch.txt (text/plain), 1.26 KB, created by
Javier Montalvo Orús
on 2007-07-19 11:16:29 EDT
(
hide
)
Description:
Patch using isRightType(fileType, f)
Filename:
MIME Type:
Creator:
Javier Montalvo Orús
Created:
2007-07-19 11:16:29 EDT
Size:
1.26 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.services.files.ftp >Index: src/org/eclipse/rse/internal/services/files/ftp/FTPService.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.services.files.ftp/src/org/eclipse/rse/internal/services/files/ftp/FTPService.java,v >retrieving revision 1.24 >diff -u -r1.24 FTPService.java >--- src/org/eclipse/rse/internal/services/files/ftp/FTPService.java 17 Jul 2007 15:53:12 -0000 1.24 >+++ src/org/eclipse/rse/internal/services/files/ftp/FTPService.java 19 Jul 2007 15:14:38 -0000 >@@ -500,24 +500,11 @@ > > if((filematcher.matches(f.getName()) || f.isDirectory()) && !(f.getName().equals(".") || f.getName().equals(".."))) //$NON-NLS-1$ //$NON-NLS-2$ > { >- switch(fileType) >+ if(isRightType(fileType, f)) > { >- case FILE_TYPE_FOLDERS: >- if(f.isDirectory()) >- { >- results.add(f); >- } >- break; >- case FILE_TYPE_FILES: >- if(f.isFile()) >- { >- results.add(f); >- } >- break; >- case FILE_TYPE_FILES_AND_FOLDERS: >- results.add(f); >- break; >+ results.add(f); > } >+ > } > } > }
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 192724
:
71596
|
74162
|
74169