You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2018/01/30 23:44:34 UTC

[22/50] guacamole-client git commit: GUACAMOLE-197: Remove unnecessary null default values, as that is already the default.

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


Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/d773614a
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/d773614a
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/d773614a

Branch: refs/heads/master
Commit: d773614a79dd64027fe50aca94d9fd9083163bc2
Parents: 9986959
Author: Nick Couchman <ni...@yahoo.com>
Authored: Tue Apr 11 09:46:14 2017 -0400
Committer: Nick Couchman <vn...@apache.org>
Committed: Mon Jan 29 17:08:10 2018 -0500

----------------------------------------------------------------------
 .../auth/radius/ConfigurationService.java         | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/d773614a/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/ConfigurationService.java
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/ConfigurationService.java b/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/ConfigurationService.java
index 58ee3c6..0cfe26b 100644
--- a/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/ConfigurationService.java
+++ b/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/ConfigurationService.java
@@ -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
         );
     }