GUACAMOLE-197: Remove unnecessary null default values, as that is already the default.

This commit is contained in:
Nick Couchman
2017-04-11 09:46:14 -04:00
committed by Nick Couchman
parent 99869592ae
commit d773614a79

View File

@@ -103,8 +103,7 @@ public class ConfigurationService {
*/ */
public String getRadiusSharedSecret() throws GuacamoleException { public String getRadiusSharedSecret() throws GuacamoleException {
return environment.getProperty( return environment.getProperty(
RadiusGuacamoleProperties.RADIUS_SHARED_SECRET, RadiusGuacamoleProperties.RADIUS_SHARED_SECRET
null
); );
} }
@@ -121,8 +120,7 @@ public class ConfigurationService {
*/ */
public String getRadiusAuthProtocol() throws GuacamoleException { public String getRadiusAuthProtocol() throws GuacamoleException {
return environment.getProperty( return environment.getProperty(
RadiusGuacamoleProperties.RADIUS_AUTH_PROTOCOL, RadiusGuacamoleProperties.RADIUS_AUTH_PROTOCOL
null
); );
} }
@@ -175,8 +173,7 @@ public class ConfigurationService {
*/ */
public String getRadiusCAFile() throws GuacamoleException { public String getRadiusCAFile() throws GuacamoleException {
return environment.getProperty( return environment.getProperty(
RadiusGuacamoleProperties.RADIUS_CA_FILE, RadiusGuacamoleProperties.RADIUS_CA_FILE
null
); );
} }
@@ -211,8 +208,7 @@ public class ConfigurationService {
*/ */
public String getRadiusCAPassword() throws GuacamoleException { public String getRadiusCAPassword() throws GuacamoleException {
return environment.getProperty( return environment.getProperty(
RadiusGuacamoleProperties.RADIUS_CA_PASSWORD, RadiusGuacamoleProperties.RADIUS_CA_PASSWORD
null
); );
} }
@@ -247,8 +243,7 @@ public class ConfigurationService {
*/ */
public String getRadiusKeyPassword() throws GuacamoleException { public String getRadiusKeyPassword() throws GuacamoleException {
return environment.getProperty( return environment.getProperty(
RadiusGuacamoleProperties.RADIUS_KEY_PASSWORD, RadiusGuacamoleProperties.RADIUS_KEY_PASSWORD
null
); );
} }
@@ -306,8 +301,7 @@ public class ConfigurationService {
*/ */
public String getRadiusEAPTTLSInnerProtocol() throws GuacamoleException { public String getRadiusEAPTTLSInnerProtocol() throws GuacamoleException {
return environment.getProperty( return environment.getProperty(
RadiusGuacamoleProperties.RADIUS_EAP_TTLS_INNER_PROTOCOL, RadiusGuacamoleProperties.RADIUS_EAP_TTLS_INNER_PROTOCOL
null
); );
} }