Commit 7adb6cb
Address further Sidekick review feedback
- Use instanceof pattern matching in NoInvokeELContext to avoid bare ClassCastException when delegate doesn't implement HasInterpreter
- Guard against null JinjavaInterpreter.getCurrent() in SizeLimitingPySet.checkSize
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 88eb7dc commit 7adb6cb
2 files changed
Lines changed: 9 additions & 4 deletions
File tree
- src/main/java/com/hubspot/jinjava
- el
- objects/collections
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
0 commit comments