mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-06 12:40:22 -04:00
Allows passing object array to toCSVString method.
This commit is contained in:
@@ -1572,7 +1572,7 @@ public final class StringUtil {
|
||||
* @param pStringArray the string array
|
||||
* @return A string of comma-separated values
|
||||
*/
|
||||
public static String toCSVString(String[] pStringArray) {
|
||||
public static String toCSVString(Object[] pStringArray) {
|
||||
return toCSVString(pStringArray, ", ");
|
||||
}
|
||||
|
||||
@@ -1584,7 +1584,7 @@ public final class StringUtil {
|
||||
* @return string of delimiter separated values
|
||||
* @throws IllegalArgumentException if {@code pDelimiterString == null}
|
||||
*/
|
||||
public static String toCSVString(String[] pStringArray, String pDelimiterString) {
|
||||
public static String toCSVString(Object[] pStringArray, String pDelimiterString) {
|
||||
if (pStringArray == null) {
|
||||
return "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user