UpendraSingh / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Error in Analytics API Guide #914

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

URL of the documentation page :
https://developers.google.com/analytics/devguides/reporting/core/v3/quickstart/s
ervice-java

Issue summary:
In HelloAnalytics.java there is a import that doenst exist in library
The incorrect import is: import com.google.api.client.json.gson.GsonFactory;
I think the correct one is: import 
com.google.api.client.json.jackson2.JacksonFactory;

So, the line that contains the code:
 private static final JsonFactory JSON_FACTORY = GsonFactory.getDefaultInstance();
I think is incorrect too.

Notes:
Sorry for my English.

Original issue reported on code.google.com by cristian...@gmail.com on 18 Mar 2016 at 6:17