Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 177150 Details for
Bug 323299
[files] remote file view adapter needs to use the latest version of IRemoteFile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch to use the latest remote file
patch.txt (text/plain), 2.26 KB, created by
David McKnight
on 2010-08-20 18:32:46 EDT
(
hide
)
Description:
patch to use the latest remote file
Filename:
MIME Type:
Creator:
David McKnight
Created:
2010-08-20 18:32:46 EDT
Size:
2.26 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.files.ui >Index: src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java,v >retrieving revision 1.101 >diff -u -r1.101 SystemViewRemoteFileAdapter.java >--- src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java 19 Aug 2010 16:42:54 -0000 1.101 >+++ src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java 20 Aug 2010 22:31:43 -0000 >@@ -67,6 +67,7 @@ > * David McKnight (IBM) - [309813] RSE permits opening of file after access removed > * David McKnight (IBM) - [308221] Bidi3.6: Improper display of date in Properties and Table Views > * David McKnight (IBM) - [317541] Show blank as the last modified for a file with no last modified >+ * David McKnight (IBM) - [323299] [files] remote file view adapter needs to use the latest version of IRemoteFile > *******************************************************************************/ > > package org.eclipse.rse.internal.files.ui.view; >@@ -168,6 +169,7 @@ > import org.eclipse.rse.subsystems.files.core.subsystems.RemoteFile; > import org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileEmpty; > import org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileRoot; >+import org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystem; > import org.eclipse.rse.subsystems.files.core.subsystems.RemoteSearchResultsContentsType; > import org.eclipse.rse.subsystems.files.core.util.ValidatorFileUniqueName; > import org.eclipse.rse.ui.ISystemContextMenuConstants; >@@ -647,6 +649,14 @@ > return ((RemoteFileRoot) file).getRootFiles(); > } > IRemoteFileSubSystem ss = file.getParentRemoteFileSubSystem(); >+ >+ // make sure we have the lastest cached version otherwise could be working with a bad file that never got marked as stale >+ if (ss instanceof RemoteFileSubSystem){ >+ IRemoteFile cachedFile = ((RemoteFileSubSystem)ss).getCachedRemoteFile(file.getAbsolutePath()); >+ if (cachedFile != null){ >+ file = cachedFile; >+ } >+ } > > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 323299
:
177150
|
177235
|
177336