|
|
|
@ -5,6 +5,10 @@
|
|
|
|
|
// Frankfurt, Germany, 2004
|
|
|
|
|
// last major change: 28.12.2004
|
|
|
|
|
//
|
|
|
|
|
// $LastChangedDate$
|
|
|
|
|
// $LastChangedRevision$
|
|
|
|
|
// $LastChangedBy$
|
|
|
|
|
//
|
|
|
|
|
// This program is free software; you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
|
// the Free Software Foundation; either version 2 of the License, or
|
|
|
|
@ -428,7 +432,7 @@ public class SetTools {
|
|
|
|
|
while (i.hasNext()) {
|
|
|
|
|
sb.append(separator).append(new String(i.next()));
|
|
|
|
|
}
|
|
|
|
|
return new String(sb);
|
|
|
|
|
return sb.toString();
|
|
|
|
|
}
|
|
|
|
|
public static String setToString(final Set<String> set, final char separator) {
|
|
|
|
|
final Iterator<String> i = set.iterator();
|
|
|
|
@ -437,7 +441,7 @@ public class SetTools {
|
|
|
|
|
while (i.hasNext()) {
|
|
|
|
|
sb.append(separator).append(i.next());
|
|
|
|
|
}
|
|
|
|
|
return new String(sb);
|
|
|
|
|
return sb.toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
|