Commit d764558
committed
Migrate JinjavaConfig and LegacyOverrides to @Value.Immutable
Switch from hand-rolled builder POJOs to Immutables-generated interfaces.
Adds JinjavaImmutableStyle, ContextConfiguration (replacing ContextConfigurationIF),
ErrorHandlingStrategy, and updates all call sites to the new builder API.
Also restricts checkstyle to src/main/java to exclude generated Immutables code.1 parent 923a276 commit d764558
147 files changed
Lines changed: 2503 additions & 2567 deletions
File tree
- src
- main/java/com/hubspot/jinjava
- el
- ext
- eager
- features
- interpret
- lib
- expression
- filter
- time
- fn
- tag
- eager
- objects/collections
- tree/output
- util
- test
- java/com/hubspot/jinjava
- el
- ext
- eager
- interpret
- lib
- expression
- filter
- time
- fn
- eager
- tag
- eager
- objects
- collections
- date
- serialization
- testobjects
- tree
- parse
- util
- resources/eager
- defers-macro-in-expression
- defers-macro-in-for
- defers-macro-in-if
- does-not-override-import-modification-in-for
- fully-defers-filtered-macro
- handles-deferred-cycle-as
- handles-deferred-for-loop-var-from-macro
- handles-double-import-modification
- handles-same-name-import-var
- reconstructs-block-set-variables-in-for-loop
- reconstructs-fromed-macro
- uses-unique-macro-names
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 2 | | |
12 | 3 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 4 | | |
18 | 5 | | |
19 | 6 | | |
20 | | - | |
21 | 7 | | |
22 | 8 | | |
23 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
107 | 112 | | |
108 | 113 | | |
109 | 114 | | |
| |||
184 | 189 | | |
185 | 190 | | |
186 | 191 | | |
| 192 | + | |
187 | 193 | | |
188 | 194 | | |
189 | 195 | | |
| |||
217 | 223 | | |
218 | 224 | | |
219 | 225 | | |
220 | | - | |
221 | | - | |
222 | | - | |
| 226 | + | |
| 227 | + | |
223 | 228 | | |
224 | 229 | | |
225 | 230 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 231 | + | |
| 232 | + | |
231 | 233 | | |
| 234 | + | |
232 | 235 | | |
233 | 236 | | |
234 | 237 | | |
| |||
266 | 269 | | |
267 | 270 | | |
268 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
269 | 278 | | |
270 | 279 | | |
271 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
77 | | - | |
| 76 | + | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
246 | 245 | | |
247 | 246 | | |
248 | 247 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
257 | 252 | | |
258 | 253 | | |
259 | 254 | | |
| |||
0 commit comments