Commit 14adad1
committed
Fixed AnswerCall Attribute Of Ring BXML Verb
Changed the answerCall field of the Ring class from a boolean primitive to a Boolean wrapper for a default 'null' value if not explicitly set. Otherwise, the boolean primitive would default to 'true' and the attribute would be serialized as such, even if the value wasn't set. Also added a test to assert values that aren't set aren't serialized into the BXML.1 parent 5d50582 commit 14adad1
File tree
2 files changed
+12
-2
lines changed- src
- main/java/com/bandwidth/voice/bxml/verbs
- test/java/com/bandwidth
2 files changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
445 | 455 | | |
446 | 456 | | |
447 | 457 | | |
| |||
0 commit comments