| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,8 +15,6 @@ | |||
| 15 | 15 | **********************************************************************/ | |
| 16 | 16 | package com.hubspot.jinjava.lib.tag; | |
| 17 | 17 | ||
| 18 | - import static com.hubspot.jinjava.util.Logging.ENGINE_LOG; | ||
| 19 | - | ||
| 20 | 18 | import com.google.common.collect.Lists; | |
| 21 | 19 | import com.hubspot.jinjava.doc.annotations.JinjavaDoc; | |
| 22 | 20 | import com.hubspot.jinjava.doc.annotations.JinjavaHasCodeBody; | |
@@ -167,7 +165,6 @@ public String renderForCollection( | |||
| 167 | 165 | Object collection | |
| 168 | 166 | ) { | |
| 169 | 167 | ForLoop loop = ObjectIterator.getLoop(collection); | |
| 170 | - int loopCount = 0; | ||
| 171 | 168 | ||
| 172 | 169 | try (InterpreterScopeClosable c = interpreter.enterScope()) { | |
| 173 | 170 | if (interpreter.isValidationMode() && !loop.hasNext()) { | |
@@ -181,7 +178,6 @@ public String renderForCollection( | |||
| 181 | 178 | interpreter.getConfig().getMaxOutputSize() | |
| 182 | 179 | ); | |
| 183 | 180 | while (loop.hasNext()) { | |
| 184 | - ++loopCount; | ||
| 185 | 181 | Object val; | |
| 186 | 182 | try { | |
| 187 | 183 | val = interpreter.wrap(loop.next()); | |
@@ -278,8 +274,6 @@ public String renderForCollection( | |||
| 278 | 274 | } | |
| 279 | 275 | } | |
| 280 | 276 | return checkLoopVariable(interpreter, buff); | |
| 281 | - } finally { | ||
| 282 | - ENGINE_LOG.error("Loop count {}", loopCount); | ||
| 283 | 277 | } | |
| 284 | 278 | } | |
| 285 | 279 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments