mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-20 15:35:24 +02:00
[362025] [dstore] Search for text hung in encountering a device definition
This commit is contained in:
parent
b129a7fed3
commit
8731a9cb2f
1 changed files with 4 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
||||||
* David McKnight (IBM] - [330989] [dstore] OutOfMemoryError occurs when searching for a text in a large remote file
|
* 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) - [283613] [dstore] Create a Constants File for all System Properties we support
|
||||||
* David McKnight (IBM) - [358301] [DSTORE] Hang during debug source look up
|
* 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;
|
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 {
|
protected void internalSearch(File theFile, int depth) throws SystemMessageException {
|
||||||
|
|
||||||
if (!hasSearched(theFile)) {
|
if (!hasSearched(theFile)) {
|
||||||
|
if (!theFile.isDirectory() && !theFile.isFile()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!_searchOnlyUniqueFolders){
|
if (!_searchOnlyUniqueFolders){
|
||||||
_alreadySearched.add(theFile.getAbsolutePath());
|
_alreadySearched.add(theFile.getAbsolutePath());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue