diff flys-backend/src/main/java/de/intevation/flys/backend/SedDBCredentials.java @ 5194:92c8f8d1a3ba

Fix Credentials parameter order
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 07 Mar 2013 19:38:36 +0100
parents fb9dcc68b9c2
children
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/backend/SedDBCredentials.java	Thu Mar 07 17:39:25 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/backend/SedDBCredentials.java	Thu Mar 07 19:38:36 2013 +0100
@@ -166,10 +166,11 @@
         String password,
         String dialect,
         String driver,
-        String connectionInitSqls,
-        String url
+        String url,
+        String connectionInitSqls
     ) {
-        super(user, password, dialect, driver, url, connectionInitSqls, CLASSES);
+        super(
+            user, password, dialect, driver, url, connectionInitSqls, CLASSES);
     }
 
     public static synchronized Credentials getInstance() {
@@ -190,7 +191,7 @@
                     DEFAULT_CONNECTION_INIT_SQLS);
 
             instance = new SedDBCredentials(
-                user, password, dialect, driver, connectionInitSqls, url);
+                user, password, dialect, driver, url, connectionInitSqls);
         }
         return instance;
     }

http://dive4elements.wald.intevation.org