[Schmitzm-commits] r1296 - trunk/src/skrueger

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Nov 22 16:23:37 CET 2010


Author: alfonx
Date: 2010-11-22 16:23:37 +0100 (Mon, 22 Nov 2010)
New Revision: 1296

Modified:
   trunk/src/skrueger/AbstractServerList.java
Log:


Modified: trunk/src/skrueger/AbstractServerList.java
===================================================================
--- trunk/src/skrueger/AbstractServerList.java	2010-11-22 15:09:59 UTC (rev 1295)
+++ trunk/src/skrueger/AbstractServerList.java	2010-11-22 15:23:37 UTC (rev 1296)
@@ -43,9 +43,8 @@
 		for (String s : split) {
 			try {
 				T dbServer = newInstance();
-				dbServer.parsePropertiesString(s);
 
-				if (dbServer == null) {
+				if (!dbServer.parsePropertiesString(s)) {
 					Log.error("Could not import a "
 							+ GtDbServerSettings.class.getSimpleName()
 							+ ". Ignoring it.");



More information about the Schmitzm-commits mailing list