GUAC-830: Align assignments.
This commit is contained in:
1 parent
9b27a27441
commit
5298523114
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -91,11 +91,11 @@ public class MySQLAuthenticationProvider implements AuthenticationProvider {
|
|||||||
|
|
||||||
// Translate legacy property
|
// Translate legacy property
|
||||||
if (disallowSimultaneous) {
|
if (disallowSimultaneous) {
|
||||||
connectionDefaultMaxConnections = 1;
|
connectionDefaultMaxConnections = 1;
|
||||||
connectionGroupDefaultMaxConnections = 0;
|
connectionGroupDefaultMaxConnections = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
connectionDefaultMaxConnections = 0;
|
connectionDefaultMaxConnections = 0;
|
||||||
connectionGroupDefaultMaxConnections = 0;
|
connectionGroupDefaultMaxConnections = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -91,11 +91,11 @@ public class PostgreSQLAuthenticationProvider implements AuthenticationProvider
|
|||||||
|
|
||||||
// Translate legacy property
|
// Translate legacy property
|
||||||
if (disallowSimultaneous) {
|
if (disallowSimultaneous) {
|
||||||
connectionDefaultMaxConnections = 1;
|
connectionDefaultMaxConnections = 1;
|
||||||
connectionGroupDefaultMaxConnections = 0;
|
connectionGroupDefaultMaxConnections = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
connectionDefaultMaxConnections = 0;
|
connectionDefaultMaxConnections = 0;
|
||||||
connectionGroupDefaultMaxConnections = 0;
|
connectionGroupDefaultMaxConnections = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user