public short getReplication(FileSystem targetFs) {
    return getPreserve().preserve(PreserveAttributes.Option.REPLICATION) ?
        getOrigin().getReplication() : targetFs.getDefaultReplication(this.destination);
  }
public short getReplication ( FileSystem targetFs ) { return getPreserve ( ) . preserve ( PreserveAttributes . Option . REPLICATION ) ? getOrigin ( ) . getReplication ( ) : targetFs . getDefaultReplication ( this . destination ) ; }
@return desired replication for destination file.