[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[tm-cvs-commit] dmcknight org.eclipse.tm.rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core SystemIFileProperties.java
|
- From: Eclipse CVS Genie <genie@xxxxxxxxxxx>
- Date: Fri, 08 Jul 2011 14:42:44 +0000
- Delivered-to: tm-cvs-commit@eclipse.org
Update of /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core
In directory dev1:/tmp/cvs-serv27827/src/org/eclipse/rse/subsystems/files/core
Modified Files:
Tag: R3_2_maintenance
SystemIFileProperties.java
Log Message:
[351435] org.eclipse.rse.subsystems.files.core.SystemIFileProperties.getBIDILogical() should default to true
Index: SystemIFileProperties.java
===================================================================
RCS file: /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/SystemIFileProperties.java,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -C2 -d -r1.1 -r1.1.4.1
*** SystemIFileProperties.java 25 May 2007 13:07:05 -0000 1.1
--- SystemIFileProperties.java 8 Jul 2011 14:42:41 -0000 1.1.4.1
***************
*** 1,4 ****
/********************************************************************************
! * Copyright (c) 2006, 2007 IBM Corporation and others. 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
--- 1,4 ----
/********************************************************************************
! * Copyright (c) 2006, 2011 IBM Corporation and others. 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
***************
*** 13,16 ****
--- 13,17 ----
* Contributors:
* Martin Oberhuber (Wind River) - [189130] Move SystemIFileProperties from UI to Core
+ * David McKnight (IBM) - [351435] org.eclipse.rse.subsystems.files.core.SystemIFileProperties.getBIDILogical() should default to true
********************************************************************************/
***************
*** 353,357 ****
*/
public boolean getBIDILogical() {
! return getPropertyBoolean(_nameRemoteBIDILogical);
}
--- 354,367 ----
*/
public boolean getBIDILogical() {
! try{ // not using getPropertyBoolean() because true should be the default
! String strValue = _resource.getPersistentProperty(_nameRemoteBIDILogical);
! if( strValue == null )
! return true;
!
! return strValue.equals( "true" ); //$NON-NLS-1$
! }
! catch( CoreException ex ){
! return true;
! }
}