mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUAC-830: Align assignments.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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