Version of google-api-java-client (e.g. 1.5.0-beta)?
1.10.3-beta
Describe the problem.
There's a typo in the hello analytics java code:
https://developers.google.com/analytics/resources/tutorials/hello-analytics-api
private static void printResults(GaData results) {
if (results != null &l;& !result.getRows().isEmpty()) {
System.out.println("Profile Name: " + results.getProfileInfo().getProfileName());
System.out.println("Total Visits: " + results.getRows()[0][0]);
} else {
System.out.println("No results found");
}
How would you expect it to be fixed?
Instead of !result.getRows().isEmpty()
it is !results.getRows().isEmpty()
Original issue reported on code.google.com by anand...@gmail.com on 8 Aug 2012 at 12:39
Original issue reported on code.google.com by
anand...@gmail.com
on 8 Aug 2012 at 12:39