mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-21 15:23:59 +02:00
[251650] [dstore] Multiple copies of symbolic link file show in Table view
This commit is contained in:
parent
c762f2e839
commit
72ea3472a4
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
||||||
* David McKnight (IBM) - [192884] Should not use filter to determine previous query results
|
* 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)
|
* 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
|
* 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;
|
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
|
// Type have to be equal as well
|
||||||
//String type = ((DataElement) currentObjList[i]).getType();
|
//String type = ((DataElement) currentObjList[i]).getType();
|
||||||
String type = previousElement.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)
|
if (((type.equals(IUniversalDataStoreConstants.UNIVERSAL_FILE_DESCRIPTOR) || type.equals(IUniversalDataStoreConstants.UNIVERSAL_ARCHIVE_FILE_DESCRIPTOR)) && isfile)
|
||||||
||
|
||
|
||||||
(type.equals(IUniversalDataStoreConstants.UNIVERSAL_FOLDER_DESCRIPTOR) && !isfile))
|
(type.equals(IUniversalDataStoreConstants.UNIVERSAL_FOLDER_DESCRIPTOR) && !isfile))
|
||||||
|
|
Loading…
Add table
Reference in a new issue