|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2006, 2010 IBM Corporation and others. |
2 |
* Copyright (c) 2006, 2011 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 25-30
Link Here
|
| 25 |
* David McKnight (IBM) - [243495] [api] New: Allow file name search in Remote Search to not be case sensitive |
25 |
* David McKnight (IBM) - [243495] [api] New: Allow file name search in Remote Search to not be case sensitive |
| 26 |
* David McKnight (IBM) - [299568] Remote search only shows result in the symbolic linked file |
26 |
* David McKnight (IBM) - [299568] Remote search only shows result in the symbolic linked file |
| 27 |
* David McKnight (IBM] - [330989] [dstore] OutOfMemoryError occurs when searching for a text in a large remote file |
27 |
* David McKnight (IBM] - [330989] [dstore] OutOfMemoryError occurs when searching for a text in a large remote file |
|
|
28 |
* Noriaki Takatsu (IBM) - [362025] [dstore] Search for text hung in encountering a device definition |
| 28 |
********************************************************************************/ |
29 |
********************************************************************************/ |
| 29 |
|
30 |
|
| 30 |
package org.eclipse.rse.internal.dstore.universal.miners.filesystem; |
31 |
package org.eclipse.rse.internal.dstore.universal.miners.filesystem; |
|
Lines 206-211
Link Here
|
| 206 |
|
207 |
|
| 207 |
if (!hasSearched(theFile)) { |
208 |
if (!hasSearched(theFile)) { |
| 208 |
|
209 |
|
|
|
210 |
if (!theFile.isDirectory() && !theFile.isFile()) { |
| 211 |
return; |
| 212 |
} |
| 209 |
if (!_searchOnlyUniqueFolders){ |
213 |
if (!_searchOnlyUniqueFolders){ |
| 210 |
_alreadySearched.add(theFile.getAbsolutePath()); |
214 |
_alreadySearched.add(theFile.getAbsolutePath()); |
| 211 |
} |
215 |
} |