Skip to content

Commit 9d08d94

Browse files
committed
Fix example usage
1 parent 683ee25 commit 9d08d94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/TwitterRestClientUsage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public void onSuccess(Object response) {
99
JSONArray timeline = (JSONArray)response;
1010

1111
try {
12-
JSONObject firstEvent = timeline.get(0);
12+
JSONObject firstEvent = (JSONObject)timeline.get(0);
1313
String tweetText = firstEvent.getString("text");
1414

1515
// Do something with the response

0 commit comments

Comments
 (0)