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