GUACAMOLE-197: Fix style issues...if is not a function...

This commit is contained in:
Nick Couchman
2017-02-09 09:30:02 -05:00
committed by Nick Couchman
parent 2e8c3ae284
commit ead5480ca9

View File

@@ -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