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

Violette Roche-Montane
07.50.2013 00d37e85955e374be365f1c34de5af1f69a6476c
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/installer/ui/JavaArgumentsDialog.java
@@ -23,7 +23,7 @@
 *
 *
 *      Copyright 2010 Sun Microsystems, Inc.
 *      Portions Copyright 2011 ForgeRock AS
 *      Portions Copyright 2011-2013 ForgeRock AS
 */
package org.opends.quicksetup.installer.ui;
@@ -94,8 +94,6 @@
  private boolean isCheckingVisible;
  private final int MAX_VALUE_32_BIT = 2048;
  private static boolean userAgreedWithWebStart;
  /**
@@ -779,7 +777,8 @@
  private Message getMemoryErrorMessage(Message msg, int memValue)
  {
    if (memValue < MAX_VALUE_32_BIT)
    // 2048 MB is acceptable max heap size on 32Bit OS
    if (memValue < 2048)
    {
      return msg;
    }
@@ -884,7 +883,8 @@
    }
    if (sb.length() > 0)
    {
      checkOptions(sb.toString(), errorMsgs, ls.toArray(new JLabel[]{}),
      checkOptions(sb.toString(), errorMsgs,
          ls.toArray(new JLabel[ls.size()]),
          ERR_GENERIC_JAVA_ARGUMENT.get(sb.toString()));
    }
  }