Cyberduck Mountain Duck CLI

Changeset 5772


Ignore:
Timestamp:
Jan 17, 2010 1:20:50 AM (10 years ago)
Author:
dkocher
Message:

Maintain JDK 1.5 API compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/ch/cyberduck/core/Local.java

    r5760 r5772  
    372372    }
    373373
    374     @Override
    375     public void writePermissions(Permission perm, boolean recursive) {
    376         if(!_impl.setReadable(perm.getOwnerPermissions()[Permission.READ], !perm.getOtherPermissions()[Permission.READ])) {
    377             log.warn("Write permissions failed:" + this.getAbsolute());
    378         }
    379         if(!_impl.setWritable(perm.getOwnerPermissions()[Permission.WRITE], !perm.getOtherPermissions()[Permission.WRITE])) {
    380             log.warn("Write permissions failed:" + this.getAbsolute());
    381         }
    382         if(!_impl.setExecutable(perm.getOwnerPermissions()[Permission.EXECUTE], !perm.getOtherPermissions()[Permission.EXECUTE])) {
    383             log.warn("Write permissions failed:" + this.getAbsolute());
    384         }
    385     }
     374//    @Override
     375//    public void writePermissions(Permission perm, boolean recursive) {
     376//        if(!_impl.setReadable(perm.getOwnerPermissions()[Permission.READ], !perm.getOtherPermissions()[Permission.READ])) {
     377//            log.warn("Write permissions failed:" + this.getAbsolute());
     378//        }
     379//        if(!_impl.setWritable(perm.getOwnerPermissions()[Permission.WRITE], !perm.getOtherPermissions()[Permission.WRITE])) {
     380//            log.warn("Write permissions failed:" + this.getAbsolute());
     381//        }
     382//        if(!_impl.setExecutable(perm.getOwnerPermissions()[Permission.EXECUTE], !perm.getOtherPermissions()[Permission.EXECUTE])) {
     383//            log.warn("Write permissions failed:" + this.getAbsolute());
     384//        }
     385//    }
    386386
    387387    @Override
Note: See TracChangeset for help on using the changeset viewer.
swiss made software