diff options
author | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-07-04 14:41:55 +0200 |
---|---|---|
committer | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-07-04 14:50:45 +0200 |
commit | 35993eab38db2aa67137d674baa31031266c2b2e (patch) | |
tree | 60d8716226582ac2290301e182caaeb60fe42cef /id/server/moa-id-commons/src | |
parent | 79aeebd55d548326a3892465c441c77589e0e37d (diff) | |
download | moa-id-spss-35993eab38db2aa67137d674baa31031266c2b2e.tar.gz moa-id-spss-35993eab38db2aa67137d674baa31031266c2b2e.tar.bz2 moa-id-spss-35993eab38db2aa67137d674baa31031266c2b2e.zip |
fix: overwrite single config instead of deleting old one
Diffstat (limited to 'id/server/moa-id-commons/src')
-rw-r--r-- | id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java index 88220cded..e890e2145 100644 --- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java +++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBRead.java @@ -147,8 +147,8 @@ public class ConfigurationDBRead { Logger.trace("Found entries: " + result.size()); if (result.size() == 0) { - Logger.trace("No entries found."); - return null; + Logger.trace("No entries found. Create fresh instance."); + return new MOAIDConfiguration(); } return (MOAIDConfiguration) result.get(0); |