[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.services.local/src/org/eclipse/rse/internal/services/local/files LocalHostFile.java
|
- From: Eclipse CVS Genie <genie@xxxxxxxxxxx>
- Date: Fri, 27 May 2011 17:50:21 +0000
- Delivered-to: tm-cvs-commit@eclipse.org
Update of /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.rse.services.local/src/org/eclipse/rse/internal/services/local/files
In directory dev2:/tmp/cvs-serv13977/src/org/eclipse/rse/internal/services/local/files
Modified Files:
Tag: R3_2_maintenance
LocalHostFile.java
Log Message:
[294521] Local "hidden" files and folders are always shown
Index: LocalHostFile.java
===================================================================
RCS file: /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.rse.services.local/src/org/eclipse/rse/internal/services/local/files/LocalHostFile.java,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -C2 -d -r1.4 -r1.4.4.1
*** LocalHostFile.java 12 Feb 2008 23:42:39 -0000 1.4
--- LocalHostFile.java 27 May 2011 17:50:18 -0000 1.4.4.1
***************
*** 1,4 ****
/*******************************************************************************
! * Copyright (c) 2006, 2008 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
--- 1,4 ----
/*******************************************************************************
! * Copyright (c) 2006, 2010 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
***************
*** 15,18 ****
--- 15,19 ----
* Martin Oberhuber (Wind River) - Fix [168591] LocalHostFile missing equals()
* David McKnight (IBM) - [209593] [api] add support for "file permissions" and "owner" properties for unix files
+ * David McKnight (IBM) - [294521] Local "hidden" files and folders are always shown
*******************************************************************************/
***************
*** 74,81 ****
public boolean isHidden()
! {
String name = getName();
! return name.charAt(0) == '.';
!
}
--- 75,81 ----
public boolean isHidden()
! {
String name = getName();
! return name.charAt(0) == '.' || (!_isRoot && _file.isHidden());
}