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

This commit is contained in:
Nick Couchman authored and Nick Couchman committed 2018-01-29 17:08:10 -05:00
1 parent 99869592ae
commit d773614a79
1 file changed
+6 -12
@@ -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
);
}