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 177336 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]
updated patch to make sure cached file is stale when original is stale
patch.txt (text/plain), 1.26 KB, created by
David McKnight
on 2010-08-24 11:51:58 EDT
(
hide
)
Description:
updated patch to make sure cached file is stale when original is stale
Filename:
MIME Type:
Creator:
David McKnight
Created:
2010-08-24 11:51:58 EDT
Size:
1.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.102 >diff -u -r1.102 SystemViewRemoteFileAdapter.java >--- src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java 23 Aug 2010 19:06:47 -0000 1.102 >+++ src/org/eclipse/rse/internal/files/ui/view/SystemViewRemoteFileAdapter.java 24 Aug 2010 15:50:02 -0000 >@@ -651,10 +651,14 @@ > 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 >+ IRemoteFile originalFile = file; > if (ss instanceof RemoteFileSubSystem){ > IRemoteFile cachedFile = ((RemoteFileSubSystem)ss).getCachedRemoteFile(file.getAbsolutePath()); > if (cachedFile != null){ > file = cachedFile; >+ if (originalFile.isStale()){ // the original file was marked stale, so the cached one should be too >+ file.markStale(true); >+ } > } > } >
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