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

This commit is contained in:
Nick Couchman authored and Nick Couchman committed 2018-01-29 17:08:09 -05:00
1 parent 2e8c3ae284
commit ead5480ca9
1 file changed
+3 -2
@@ -117,7 +117,8 @@ public class RadiusConnectionService {
*/ */
private RadiusAuthenticator setupRadiusAuthenticator() { 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.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."); logger.debug("We can't run this method until the RADIUS client has been set up.");
return null; return null;
@@ -153,7 +154,7 @@ public class RadiusConnectionService {
} }
RadiusAuthenticator radAuth = radiusClient.getAuthProtocol(radAuthName); RadiusAuthenticator radAuth = radiusClient.getAuthProtocol(radAuthName);
if(radAuth == null) if (radAuth == null)
return null; return null;
// If we're using any of the TLS protocols, we need to configure them // If we're using any of the TLS protocols, we need to configure them