diff --git a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/search/SystemSearchPage.java b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/search/SystemSearchPage.java index 53be596d7e9..a016f550fdb 100644 --- a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/search/SystemSearchPage.java +++ b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/search/SystemSearchPage.java @@ -877,14 +877,14 @@ public class SystemSearchPage extends DialogPage implements ISearchPage { boolean supportsArchiveManagement = remoteFile.getParentRemoteFileSubSystem().getParentRemoteFileSubSystemConfiguration().supportsArchiveManagement(); // if it's a file, but not an archive, get the file name, connection info, and parent folder name - if (remoteFile.isFile() && (!remoteFile.isArchive() && !supportsArchiveManagement)) { + if (remoteFile.isFile() && !remoteFile.isArchive()) { fileName = remoteFile.getName(); IHost conn = remoteFile.getSystemConnection(); profileName = conn.getSystemProfileName(); connectionName = conn.getAliasName(); folderName = remoteFile.getParentPath(); } - // otherwise if it's a folder or an arvhive, get the connection info and the name + // otherwise if it's a folder or an archive, get the connection info and the name else if (remoteFile.isDirectory() || (remoteFile.isArchive() && supportsArchiveManagement)) { IHost conn = remoteFile.getSystemConnection(); profileName = conn.getSystemProfileName();