private File checkBaseline(File baselineParentDir) throws IOException {
  File baselineDir=null;
  if (null != baselineParentDir) {
    baselineDir=getBackupDir(baselineParentDir);
    if (!baselineDir.exists()) {
      baselineDir=findBaselineForThisMember(baselineParentDir);
    }
    if (null != baselineDir) {
      File incompleteBackup=new File(baselineDir,INCOMPLETE_BACKUP);
      if (incompleteBackup.exists()) {
        baselineDir=null;
      }
    }
  }
  return baselineDir;
}

private File checkBaseline ( File baselineParentDir ) throws IOException { File baselineDir = null ; if ( null != baselineParentDir ) { baselineDir = getBackupDir ( baselineParentDir ) ; if ( ! baselineDir . exists ( ) ) { baselineDir = findBaselineForThisMember ( baselineParentDir ) ; } if ( null != baselineDir ) { File incompleteBackup = new File ( baselineDir , INCOMPLETE_BACKUP ) ; if ( incompleteBackup . exists ( ) ) { baselineDir = null ; } } } return baselineDir ; }
performs a sanity check on the baseline directory for incremental backups . if a baseline directory exists for the member and there is no incomplete_backup file then return the data stores directory for this member .
