From 4163572db6a360e676d2f15c6955eee1bc2ec22c Mon Sep 17 00:00:00 2001 From: tkellner Date: Mon, 3 Mar 2014 20:08:24 +0000 Subject: Use current commons-configuration git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1301 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../main/java/at/gv/egiz/bku/utils/ConfigurationUtil.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 utils/src/main/java/at/gv/egiz/bku/utils/ConfigurationUtil.java (limited to 'utils/src/main/java/at/gv/egiz') diff --git a/utils/src/main/java/at/gv/egiz/bku/utils/ConfigurationUtil.java b/utils/src/main/java/at/gv/egiz/bku/utils/ConfigurationUtil.java new file mode 100644 index 00000000..54ad4e6b --- /dev/null +++ b/utils/src/main/java/at/gv/egiz/bku/utils/ConfigurationUtil.java @@ -0,0 +1,13 @@ +package at.gv.egiz.bku.utils; + +import java.util.ArrayList; +import java.util.List; + +public class ConfigurationUtil { + public static List getStringListFromObjectList(List olist) { + List slist = new ArrayList(); + for (Object entry : olist) + slist.add(entry == null ? null : entry.toString()); + return slist; + } +} -- cgit v1.2.3