javarosa
javarosa copied to clipboard
TreeReference toString renders 1-based multiplicities by default
Problem description
TreeReference toString renders 1-based multiplicities by default. This is confusing, especially in the debugger when looking at something like the following:
![image](https://user-images.githubusercontent.com/55099/111209941-e097f180-8589-11eb-851c-97f63a8d73f8.png)
Is it safe to change the default?
If not, we could do something like this to change the default when testing:
![image](https://user-images.githubusercontent.com/55099/111210160-248af680-858a-11eb-9ccb-27ee79878cd8.png)
![image](https://user-images.githubusercontent.com/55099/111210250-41bfc500-858a-11eb-8398-fcf9716664f8.png)
Thoughts?