From 43f0c2c3c6570234721fb5635e043999fb894e28 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 20 Jan 2015 10:44:19 +0000
Subject: [PATCH] Code cleanup
---
opendj3-server-dev/src/server/org/opends/server/util/StaticUtils.java | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/util/StaticUtils.java b/opendj3-server-dev/src/server/org/opends/server/util/StaticUtils.java
index 578ffc7..2b8a927 100644
--- a/opendj3-server-dev/src/server/org/opends/server/util/StaticUtils.java
+++ b/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;
}
--
Gitblit v1.10.0