chariotsolutions / phonegap-nfc

PhoneGap NFC Plugin
MIT License
706 stars 559 forks source link

replaced Java null by JSONObject.NULL as recommended in JSON libraray, b... #112

Closed didlich closed 10 years ago

didlich commented 10 years ago

I have a project setup, which is using maven for building and testing code. Using the plugin the maven compiler plugin complains about ambiguous in the put method. After reading the javadoc of the JSON libraray it is recommended to use NULL instead of Java null.

http://www.json.org/javadoc/org/json/JSONObject.html

the changes solved the compiler problem

don commented 10 years ago

This changes output. With null, canMakeReadOnly is undefined. With JSONObject.NULL canMakeReadOnly is null.