1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-20 07:25:23 +02:00

[362025] [dstore] Search for text hung in encountering a device definition

This commit is contained in:
David McKnight 2011-10-27 13:49:25 +00:00
parent b129a7fed3
commit 8731a9cb2f

View file

@ -27,6 +27,7 @@
* David McKnight (IBM] - [330989] [dstore] OutOfMemoryError occurs when searching for a text in a large remote file
* David McKnight (IBM) - [283613] [dstore] Create a Constants File for all System Properties we support
* David McKnight (IBM) - [358301] [DSTORE] Hang during debug source look up
* Noriaki Takatsu (IBM) - [362025] [dstore] Search for text hung in encountering a device definition
********************************************************************************/
package org.eclipse.rse.internal.dstore.universal.miners.filesystem;
@ -210,7 +211,9 @@ public class UniversalSearchHandler extends SecuredThread implements ICancellabl
protected void internalSearch(File theFile, int depth) throws SystemMessageException {
if (!hasSearched(theFile)) {
if (!theFile.isDirectory() && !theFile.isFile()) {
return;
}
if (!_searchOnlyUniqueFolders){
_alreadySearched.add(theFile.getAbsolutePath());
}