Commit aebe732
committed
feat: add constructor to set clientId on Client creation
Add new constructor Client(String name, String clientId) to allow
setting the immutable clientId field during object construction.
The existing Client(String name) constructor remains unchanged to
maintain backward compatibility. This allows users to optionally
set the clientId at construction time when needed, while the field
remains immutable (no setter exists).
- Add Client(String name, String clientId) constructor with JavaDoc
- Add test for backward compatibility (existing constructor)
- Add test for new constructor functionality
- All existing tests continue to pass1 parent cda78f9 commit aebe732
File tree
2 files changed
+25
-0
lines changed- src
- main/java/com/auth0/json/mgmt/client
- test/java/com/auth0/json/mgmt/client
2 files changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
157 | 168 | | |
158 | 169 | | |
159 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
380 | 394 | | |
0 commit comments