changeset 312:fa056f9c8a0c

Fixed NPE with list of backend listeners. artifacts/trunk@2437 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 01 Aug 2011 14:54:34 +0000
parents 1d517e051e95
children ddc35c950e97
files ChangeLog artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Aug 01 14:17:09 2011 +0000
+++ b/ChangeLog	Mon Aug 01 14:54:34 2011 +0000
@@ -1,3 +1,8 @@
+2011-08-01	Sascha L. Teichmann	<teichmann@intevation.de>
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
+	  Fixed NPE.
+
 2011-08-01	Sascha L. Teichmann	<teichmann@intevation.de>
 
 	* artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java	Mon Aug 01 14:17:09 2011 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java	Mon Aug 01 14:54:34 2011 +0000
@@ -265,6 +265,7 @@
     }
 
     public Backend(DBConfig config) {
+        this();
         this.config = config;
         sqlExecutor = new SQLExecutor(config.getDBConnection());
         setupSQL(config.getSQL());

http://dive4elements.wald.intevation.org