summaryrefslogtreecommitdiff
path: root/utils/src/main
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2014-03-03 20:08:24 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2014-03-03 20:08:24 +0000
commit4163572db6a360e676d2f15c6955eee1bc2ec22c (patch)
treef47dcf7c68e4110343ce41f1413be0b2b0fdf724 /utils/src/main
parent23f49aa90131e967da6413d91a4353e43ca5c7d9 (diff)
downloadmocca-4163572db6a360e676d2f15c6955eee1bc2ec22c.tar.gz
mocca-4163572db6a360e676d2f15c6955eee1bc2ec22c.tar.bz2
mocca-4163572db6a360e676d2f15c6955eee1bc2ec22c.zip
Use current commons-configuration
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1301 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'utils/src/main')
-rw-r--r--utils/src/main/java/at/gv/egiz/bku/utils/ConfigurationUtil.java13
1 files changed, 13 insertions, 0 deletions
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<String> getStringListFromObjectList(List<Object> olist) {
+ List<String> slist = new ArrayList<String>();
+ for (Object entry : olist)
+ slist.add(entry == null ? null : entry.toString());
+ return slist;
+ }
+}