|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************** |
1 |
/******************************************************************************** |
| 2 |
* Copyright (c) 2002, 2008 IBM Corporation and others. All rights reserved. |
2 |
* Copyright (c) 2002, 2010 IBM Corporation and others. 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 18-23
Link Here
|
| 18 |
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry |
18 |
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry |
| 19 |
* David McKnight (IBM) - [226574] don't show encoding if no subsystem supports it |
19 |
* David McKnight (IBM) - [226574] don't show encoding if no subsystem supports it |
| 20 |
* David McKnight (IBM) - [252708] Saving Profile Job happens when not changing Property Values on Connections |
20 |
* David McKnight (IBM) - [252708] Saving Profile Job happens when not changing Property Values on Connections |
|
|
21 |
* Noriaki Takatsu (IBM) - [332393] Default encoding is removed in System Connection property page |
| 21 |
********************************************************************************/ |
22 |
********************************************************************************/ |
| 22 |
|
23 |
|
| 23 |
package org.eclipse.rse.internal.ui.propertypages; |
24 |
package org.eclipse.rse.internal.ui.propertypages; |
|
Lines 145-151
Link Here
|
| 145 |
conn.setDefaultEncoding(encoding, false); |
146 |
conn.setDefaultEncoding(encoding, false); |
| 146 |
} |
147 |
} |
| 147 |
// remote default encoding |
148 |
// remote default encoding |
| 148 |
else if (currentEncoding != null){ |
149 |
else if (currentEncoding != null && !encoding.equals(currentEncoding)){ |
| 149 |
// remove user encoding from host property first |
150 |
// remove user encoding from host property first |
| 150 |
conn.setDefaultEncoding(null, false); |
151 |
conn.setDefaultEncoding(null, false); |
| 151 |
// remove default remote encoding to indicate to get from remote system |
152 |
// remove default remote encoding to indicate to get from remote system |