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

Jean-Noel Rouvignac
20.44.2015 43f0c2c3c6570234721fb5635e043999fb894e28
opendj3-server-dev/src/server/org/opends/server/util/StaticUtils.java
@@ -22,10 +22,13 @@
 *
 *
 *      Copyright 2006-2010 Sun Microsystems, Inc.
 *      Portions Copyright 2011-2014 ForgeRock AS
 *      Portions Copyright 2011-2015 ForgeRock AS
 */
package org.opends.server.util;
import static org.opends.messages.UtilityMessages.*;
import static org.opends.server.util.ServerConstants.*;
import java.io.*;
import java.lang.reflect.InvocationTargetException;
import java.net.InetAddress;
@@ -59,9 +62,6 @@
import com.forgerock.opendj.cli.Argument;
import com.forgerock.opendj.cli.ArgumentException;
import static org.opends.messages.UtilityMessages.*;
import static org.opends.server.util.ServerConstants.*;
/**
 * This class defines a number of static utility methods that may be used
 * throughout the server.  Note that because of the frequency with which these
@@ -3343,7 +3343,7 @@
   *
   * @return  An array list containing the contents of the provided array.
   */
  public static ArrayList<String> arrayToList(String[] stringArray)
  public static ArrayList<String> arrayToList(String... stringArray)
  {
    if (stringArray == null)
    {
@@ -3355,7 +3355,6 @@
    {
      stringList.add(s);
    }
    return stringList;
  }