Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 280453 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/rse/services/files/DefaultFileServiceCodePageConverter.java (-1 / +5 lines)
Lines 1-5 Link Here
1
/********************************************************************************
1
/********************************************************************************
2
 * Copyright (c) 2007, 2011 IBM Corporation. All rights reserved.
2
 * Copyright (c) 2007, 2012 IBM Corporation. All rights reserved.
3
 * This program and the accompanying materials are made available under the terms
3
 * This program and the accompanying materials are made available under the terms
4
 * of the Eclipse Public License v1.0 which accompanies this distribution, and is
4
 * of the Eclipse Public License v1.0 which accompanies this distribution, and is
5
 * available at http://www.eclipse.org/legal/epl-v10.html
5
 * available at http://www.eclipse.org/legal/epl-v10.html
Lines 95-100 Link Here
95
					}
95
					}
96
					inputStream.close();	
96
					inputStream.close();	
97
					outStream.close();
97
					outStream.close();
98
					if(!altFile.renameTo(file) && file.exists()) {
99
						file.delete();
100
						altFile.renameTo(file);
101
					}
98
					altFile.renameTo(file);
102
					altFile.renameTo(file);
99
				}
103
				}
100
104

Return to bug 280453