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

Jean-Noël Rouvignac
28.19.2016 a4b9f00b5549a7bca37bc47f4a09cfc817e581c1
opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java
@@ -4205,10 +4205,9 @@
      try
      {
        SearchResultEntry sr = conn.getConnection().searchSingleEntry(searchRequest);
        // Get the number of entries that have been handled and
        // a percentage...
        long processed = asInteger(sr, "ds-task-processed-entry-count");
        long unprocessed = asInteger(sr, "ds-task-unprocessed-entry-count");
        // Get the number of entries that have been handled and a percentage...
        long processed = sr.parseAttribute("ds-task-processed-entry-count").asLong();
        long unprocessed = sr.parseAttribute("ds-task-unprocessed-entry-count").asLong();
        totalEntries = Math.max(totalEntries, processed + unprocessed);
        LocalizableMessage msg = getLocalizedMessage(lastDisplayedMsg, processed, unprocessed);