mneethiraj commented on code in PR #911:
URL: https://github.com/apache/ranger/pull/911#discussion_r3061124987


##########
agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRESTUtils.java:
##########
@@ -73,7 +72,7 @@ public class RangerRESTUtils {
     private static final Logger LOG                                            
   = LoggerFactory.getLogger(RangerRESTUtils.class);
     private static final int    MAX_PLUGIN_ID_LEN                              
   = 255;
 
-    public static        String hostname;
+    public static final String hostname = getHostname();

Review Comment:
   This variable has been public for many releases; making it private can break 
any references. Will consider this in next major release - 3.0.0.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to