Commit 957c403
authored
refactor: remove minimum required fields constructor from ApplicationInformationDto (#43)
Removed the 4-parameter convenience constructor. DTO now has only:
1. Default no-arg constructor (required for JAXB)
2. Canonical constructor with all 37 fields (auto-generated by record)
All 18 integration tests passing (H2, MySQL, PostgreSQL).
Resolves #401 parent d5e321b commit 957c403
File tree
1 file changed
+2
-11
lines changed- openespi-common/src/main/java/org/greenbuttonalliance/espi/common/dto/usage
1 file changed
+2
-11
lines changedLines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
| |||
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | 216 | | |
226 | 217 | | |
227 | 218 | | |
| |||
0 commit comments