Beatlepl / google-voice-java

Automatically exported from code.google.com/p/google-voice-java
0 stars 0 forks source link

From Settings, JSON Node "Spam" is now Boolean not INT #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Authenticate with HOSTED Account
2. Simply run voice.getSettings(false)

What is the expected output? What do you see instead?
JSON array, no exception.

Getting exception: gvjava.org.json.JSONException: JSONObject["spam"] is not a 
number.

What version of the product are you using? On what operating system?
Current Source, Mac OS 10.6.7

Please provide any additional information below.

Changed references in com.techventus.server.voice.datatypes/Setting.java

Adjusted INT to BOOLEAN, problem solved.

Original issue reported on code.google.com by ang...@foxtailtech.com on 27 May 2011 at 5:23

GoogleCodeExporter commented 8 years ago
Hi Angelo,
Did you commit these changes?

Original comment by malone.j...@gmail.com on 2 May 2012 at 8:44