[Dive4elements-commits] [PATCH] Fix Credentials parameter order

Wald Commits scm-commit at wald.intevation.org
Thu Mar 7 19:40:36 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1362681516 -3600
# Node ID 92c8f8d1a3ba86a631c5c5f29cea03a20780a8e4
# Parent  fb9dcc68b9c2b3135ec83965eef4548afeed97b9
Fix Credentials parameter order

diff -r fb9dcc68b9c2 -r 92c8f8d1a3ba flys-backend/src/main/java/de/intevation/flys/backend/FLYSCredentials.java
--- a/flys-backend/src/main/java/de/intevation/flys/backend/FLYSCredentials.java	Thu Mar 07 17:39:25 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/backend/FLYSCredentials.java	Thu Mar 07 19:38:36 2013 +0100
@@ -237,7 +237,7 @@
                     DEFAULT_CONNECTION_INIT_SQLS);
 
             instance = new FLYSCredentials(
-                user, password, dialect, driver, connectionInitSqls, url);
+                user, password, dialect, driver, url, connectionInitSqls);
         }
         return instance;
     }
diff -r fb9dcc68b9c2 -r 92c8f8d1a3ba flys-backend/src/main/java/de/intevation/flys/backend/SedDBCredentials.java
--- 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;
     }


More information about the Dive4elements-commits mailing list