All pastes #174757 Raw Edit

Mine

public text v1 · immutable
·published 2006-09-18 05:12 UTC
rendered paste body
 	  protected static final boolean isArchivedToXSlaves(LinkedRemoteFileInterface lrf,
        int x) throws IncompleteDirectoryException, OfflineSlaveException {
        HashSet<RemoteSlave> slaveSet = null;

        if (lrf.getFiles().isEmpty()) {
            return true;
        }

        try {
        //    try {
				if (!lrf.lookupSFVFile().getStatus().isFinished()) {
				    logger.debug(lrf.getPath() + " is not complete");
				    throw new IncompleteDirectoryException(lrf.getPath() +
				        " is not complete");
			//	}
		//	} catch (FileStillTransferringException e) {
			//	logger.debug(lrf.getPath() + " is still transferrring it's SFV");
			//	throw new IncompleteDirectoryException(lrf.getPath() + " is still transferrring it's SFV");
			// }
        } catch (FileNotFoundException e) {
        } catch (IOException e) {
        } catch (NoAvailableSlaveException e) {
        	throw new OfflineSlaveException("SFV is offline", e);
        }