diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java index 16cdd056b..35d69aab0 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java @@ -70,7 +70,7 @@ public class MySQLAuthenticationProviderModule implements Module { myBatisProperties.setProperty("mybatis.pooled.pingQuery", "SELECT 1"); // Use UTF-8 in database - driverProperties.setProperty("characterEncoding","UTF-8"); + driverProperties.setProperty("characterEncoding", "UTF-8"); // Allow use of multiple statements within a single query driverProperties.setProperty("allowMultiQueries", "true"); @@ -86,7 +86,7 @@ public class MySQLAuthenticationProviderModule implements Module { // Bind MyBatis properties Names.bindProperties(binder, myBatisProperties); - // Bing JDBC driver properties + // Bind JDBC driver properties binder.bind(Properties.class) .annotatedWith(Names.named("JDBC.driverProperties")) .toInstance(driverProperties); diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/java/org/apache/guacamole/auth/postgresql/PostgreSQLAuthenticationProviderModule.java b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/java/org/apache/guacamole/auth/postgresql/PostgreSQLAuthenticationProviderModule.java index dc8442e02..0765a5d12 100644 --- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/java/org/apache/guacamole/auth/postgresql/PostgreSQLAuthenticationProviderModule.java +++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/java/org/apache/guacamole/auth/postgresql/PostgreSQLAuthenticationProviderModule.java @@ -71,8 +71,7 @@ public class PostgreSQLAuthenticationProviderModule implements Module { myBatisProperties.setProperty("mybatis.pooled.pingQuery", "SELECT 1"); // Use UTF-8 in database - driverProperties.setProperty("characterEncoding","UTF-8"); - + driverProperties.setProperty("characterEncoding", "UTF-8"); } @@ -85,7 +84,7 @@ public class PostgreSQLAuthenticationProviderModule implements Module { // Bind MyBatis properties Names.bindProperties(binder, myBatisProperties); - // Bing JDBC driver properties + // Bind JDBC driver properties binder.bind(Properties.class) .annotatedWith(Names.named("JDBC.driverProperties")) .toInstance(driverProperties);