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 212941 Details for
Bug 280453
[performance] DefaultFileServiceCodePageConverter is wasteful with main memory
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 fix rename problem
patch.txt (text/plain), 1.35 KB, created by
David McKnight
on 2012-03-20 15:27:32 EDT
(
hide
)
Description:
updated patch to fix rename problem
Filename:
MIME Type:
Creator:
David McKnight
Created:
2012-03-20 15:27:32 EDT
Size:
1.35 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.services >Index: src/org/eclipse/rse/services/files/DefaultFileServiceCodePageConverter.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.rse.services/src/org/eclipse/rse/services/files/DefaultFileServiceCodePageConverter.java,v >retrieving revision 1.11 >diff -u -r1.11 DefaultFileServiceCodePageConverter.java >--- src/org/eclipse/rse/services/files/DefaultFileServiceCodePageConverter.java 14 Nov 2011 19:52:44 -0000 1.11 >+++ src/org/eclipse/rse/services/files/DefaultFileServiceCodePageConverter.java 20 Mar 2012 19:26:23 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************** >- * Copyright (c) 2007, 2011 IBM Corporation. All rights reserved. >+ * Copyright (c) 2007, 2012 IBM Corporation. All rights reserved. > * This program and the accompanying materials are made available under the terms > * of the Eclipse Public License v1.0 which accompanies this distribution, and is > * available at http://www.eclipse.org/legal/epl-v10.html >@@ -95,6 +95,10 @@ > } > inputStream.close(); > outStream.close(); >+ if(!altFile.renameTo(file) && file.exists()) { >+ file.delete(); >+ altFile.renameTo(file); >+ } > altFile.renameTo(file); > } >
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 280453
:
189805
|
206967
| 212941