dlmarion commented on code in PR #99:
URL: https://github.com/apache/accumulo-access/pull/99#discussion_r2696005841


##########
core/src/main/java/org/apache/accumulo/access/impl/AccessEvaluatorImpl.java:
##########
@@ -74,7 +75,8 @@ public AccessEvaluatorImpl(Authorizations authorizations,
 
   public static CharSequence unescape(CharSequence auth) {
     int escapeCharCount = 0;
-    for (int i = 0; i < auth.length(); i++) {
+    final int authLength = auth.length();

Review Comment:
   I'm seeing that where it is being called from an authorization is being 
passed in, presumably the auth token is unique. I'm not seeing a loop, can you 
point me to it?



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