File tree Expand file tree Collapse file tree
src/main/java/com/hubspot/jinjava/lib/tag Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 **********************************************************************/
1616package com .hubspot .jinjava .lib .tag ;
1717
18- import static com .hubspot .jinjava .util .Logging .ENGINE_LOG ;
19-
2018import com .google .common .collect .Lists ;
2119import com .hubspot .jinjava .doc .annotations .JinjavaDoc ;
2220import com .hubspot .jinjava .doc .annotations .JinjavaHasCodeBody ;
@@ -167,7 +165,6 @@ public String renderForCollection(
167165 Object collection
168166 ) {
169167 ForLoop loop = ObjectIterator .getLoop (collection );
170- int loopCount = 0 ;
171168
172169 try (InterpreterScopeClosable c = interpreter .enterScope ()) {
173170 if (interpreter .isValidationMode () && !loop .hasNext ()) {
@@ -181,7 +178,6 @@ public String renderForCollection(
181178 interpreter .getConfig ().getMaxOutputSize ()
182179 );
183180 while (loop .hasNext ()) {
184- ++loopCount ;
185181 Object val ;
186182 try {
187183 val = interpreter .wrap (loop .next ());
@@ -278,8 +274,6 @@ public String renderForCollection(
278274 }
279275 }
280276 return checkLoopVariable (interpreter , buff );
281- } finally {
282- ENGINE_LOG .error ("Loop count {}" , loopCount );
283277 }
284278 }
285279
You can’t perform that action at this time.
0 commit comments