1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +02:00

[251650] [dstore] Multiple copies of symbolic link file show in Table view

This commit is contained in:
David McKnight 2008-10-22 14:41:52 +00:00
parent c762f2e839
commit 72ea3472a4

View file

@ -13,6 +13,7 @@
* David McKnight (IBM) - [192884] Should not use filter to determine previous query results
* David McKnight (IBM) - [209387] Should not delete elements for files that still exist (but are filtered out)
* Noriaki Takatsu (IBM) - [220126] [dstore][api][breaking] Single process server for multiple clients
* David McKnight (IBM) - [251650] [dstore] Multiple copies of symbolic link file show in Table view
*******************************************************************************/
package org.eclipse.rse.internal.dstore.universal.miners.filesystem;
@ -194,7 +195,7 @@ public class FileQueryThread extends QueryThread
// Type have to be equal as well
//String type = ((DataElement) currentObjList[i]).getType();
String type = previousElement.getType();
boolean isfile = list[j].isFile();
boolean isfile = !list[j].isDirectory();
if (((type.equals(IUniversalDataStoreConstants.UNIVERSAL_FILE_DESCRIPTOR) || type.equals(IUniversalDataStoreConstants.UNIVERSAL_ARCHIVE_FILE_DESCRIPTOR)) && isfile)
||
(type.equals(IUniversalDataStoreConstants.UNIVERSAL_FOLDER_DESCRIPTOR) && !isfile))