mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

coulbeck
14.32.2006 aed71cd4657ff1cd848087c46dcb372c05b5009e
opends/src/server/org/opends/server/tasks/BackupTask.java
@@ -181,7 +181,7 @@
    // backend ID was given.  They are mutually exclusive.
    if (backUpAll)
    {
      if (backendIDList != null)
      if (!backendIDList.isEmpty())
      {
        int    msgID   = MSGID_BACKUPDB_CANNOT_MIX_BACKUP_ALL_AND_BACKEND_ID;
        String message = getMessage(msgID, ATTR_TASK_BACKUP_ALL,
@@ -191,7 +191,7 @@
        return TaskState.STOPPED_BY_ERROR;
      }
    }
    else if (backendIDList == null)
    else if (backendIDList.isEmpty())
    {
      int    msgID   = MSGID_BACKUPDB_NEED_BACKUP_ALL_OR_BACKEND_ID;
      String message = getMessage(msgID, ATTR_TASK_BACKUP_ALL,
@@ -392,7 +392,7 @@
      // If the directory doesn't exist, then create it.  If it does exist, then
      // see if it has a backup descriptor file.
      BackupDirectory backupDir = null;
      BackupDirectory backupDir;
      backupDirFile = new File(backupDirPath);
      if (backupDirFile.exists())
      {