Commit 261d0f8
authored
Replace AutoValue with records (#54)
Both value classes (MethodReference, MethodCalls) are simple data
holders with no builders or custom equality, so records map cleanly
on Java 26. Drops the auto-value annotation processor, the
auto-value-annotations dependency, the jacoco AutoValue_* exclude,
and the Error Prone -XepExcludedPaths arg that was only there to
ignore AutoValue's generated sources.1 parent c8c3e27 commit 261d0f8
3 files changed
Lines changed: 9 additions & 44 deletions
File tree
- src
- main/java/com/google/acai
- test/java/com/google/acai
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 74 | | |
80 | 75 | | |
81 | 76 | | |
| |||
120 | 115 | | |
121 | 116 | | |
122 | 117 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | 118 | | |
129 | 119 | | |
130 | 120 | | |
| |||
176 | 166 | | |
177 | 167 | | |
178 | 168 | | |
179 | | - | |
180 | 169 | | |
181 | 170 | | |
182 | 171 | | |
| |||
201 | 190 | | |
202 | 191 | | |
203 | 192 | | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | 193 | | |
211 | 194 | | |
212 | 195 | | |
| |||
Lines changed: 5 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | | - | |
| 43 | + | |
45 | 44 | | |
46 | | - | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | | - | |
| 48 | + | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 115 | + | |
126 | 116 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
283 | 282 | | |
284 | 283 | | |
285 | 284 | | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
| 285 | + | |
294 | 286 | | |
295 | | - | |
| 287 | + | |
296 | 288 | | |
297 | 289 | | |
298 | 290 | | |
299 | | - | |
| 291 | + | |
300 | 292 | | |
301 | 293 | | |
302 | 294 | | |
| |||
0 commit comments