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


##########
agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerResourceTrie.java:
##########
@@ -679,7 +679,7 @@ private int getMaxDepth() {
     }
 
     private Character getLookupChar(char ch) {
-        return optIgnoreCase ? Character.toLowerCase(ch) : ch;
+        return optIgnoreCase ? 
Character.toLowerCase(Character.toUpperCase(ch)) : ch;

Review Comment:
   @maheshbandal15  - would using `Character.toUpperCase(ch)`, instead of two 
level conversion - `Character.toLowerCase(Character.toUpperCase(ch))`, address 
the reported issue?
   
   



-- 
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