[x3d-public] X3DJSAIL. Setting field value to null. Ambiguous
yottzumm at gmail.com
yottzumm at gmail.com
Wed Feb 15 18:11:34 PST 2017
There’s slight ambiguity in setting field values to null. We’ll have to cast or provide a
setValueNull() method. Let me know if an additional method is provided. Attached example.
NancyPrototypes.java:263: error: reference to setValue is ambiguous
field0_2_2_0_35.setValue(null);
^
both method setValue(String) in fieldObject and method setValue(SFStringObject) in fieldObject match
NancyPrototypes.java:270: error: reference to setValue is ambiguous
field0_2_2_0_37.setValue(null);
^
both method setValue(String) in fieldObject and method setValue(SFStringObject) in fieldObject match
NancyPrototypes.java:544: error: reference to setValue is ambiguous
field0_2_6_0_18.setValue(null);
^
both method setValue(String) in fieldObject and method setValue(SFStringObject) in fieldObject match
3 errors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170215/f6185bad/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NancyPrototypes.java
Type: application/octet-stream
Size: 259685 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170215/f6185bad/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NancyPrototypes.json
Type: application/json
Size: 278824 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170215/f6185bad/attachment-0001.json>
More information about the x3d-public
mailing list