mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-197: Fix style issues...if is not a function...
This commit is contained in:
committed by
Nick Couchman
parent
2e8c3ae284
commit
ead5480ca9
@@ -117,7 +117,8 @@ public class RadiusConnectionService {
|
||||
*/
|
||||
private RadiusAuthenticator setupRadiusAuthenticator() {
|
||||
|
||||
if(radiusClient == null) {
|
||||
// If we don't have a radiusClient object, yet, don't go any further.
|
||||
if (radiusClient == null) {
|
||||
logger.error("RADIUS client hasn't been set up, yet.");
|
||||
logger.debug("We can't run this method until the RADIUS client has been set up.");
|
||||
return null;
|
||||
@@ -153,7 +154,7 @@ public class RadiusConnectionService {
|
||||
}
|
||||
|
||||
RadiusAuthenticator radAuth = radiusClient.getAuthProtocol(radAuthName);
|
||||
if(radAuth == null)
|
||||
if (radAuth == null)
|
||||
return null;
|
||||
|
||||
// If we're using any of the TLS protocols, we need to configure them
|
||||
|
Reference in New Issue
Block a user