Commit e520666
Fix 2.8.x build: remove Jinjava 3.0-only constructs
The previous commit used BaseJinjavaTest.newConfigBuilder() which only
exists in Jinjava 3.0. Replace with JinjavaConfig.newBuilder() plus
matching LegacyOverrides. Also replace Java 16 pattern variable in
instanceof with a traditional approach.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2131380 commit e520666
2 files changed
Lines changed: 13 additions & 4 deletions
File tree
- src
- main/java/com/hubspot/jinjava/lib/filter
- test/java/com/hubspot/jinjava/lib/filter
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
| 132 | + | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
105 | | - | |
106 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
107 | 116 | | |
108 | 117 | | |
109 | 118 | | |
| |||
0 commit comments