kumaab commented on code in PR #457: URL: https://github.com/apache/ranger/pull/457#discussion_r1887678717
########## agents-cred/src/main/java/org/apache/ranger/authorization/credutils/CredentialsProviderUtil.java: ########## @@ -91,7 +81,7 @@ public static KerberosCredentialsProvider getKerberosCredentials(String user, St public static synchronized KerberosTicket getTGT(Subject subject) { Set<KerberosTicket> tickets = subject.getPrivateCredentials(KerberosTicket.class); - for(KerberosTicket ticket: tickets) { + for (KerberosTicket ticket : tickets) { KerberosPrincipal server = ticket.getServer(); if (server.getName().equals("krbtgt/" + server.getRealm() + "@" + server.getRealm())) { if (logger.isDebugEnabled()) { Review Comment: Most of the occurrences of logger.isDebugEnabled() may be removed, please check. -- 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: dev-unsubscr...@ranger.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org