ektfetna1 / gdata-java-client

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

Developer's Guide: Java minor inconsistancy?? #133

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On the Developers's Guide
http://code.google.com/apis/spreadsheets/docs/2.0/developers_guide_java.html#Aut
hSub
the following example code is displayed

SpreadsheetService myService = new
SpreadsheetService("exampleCo-exampleApp-1");
service.setAuthSubToken(sessionToken, null);

This may be a dumb request but I think the service variable should be
consistent throughout the documentation.  It would be clearer as

SpreadsheetService myService = new
SpreadsheetService("exampleCo-exampleApp-1");
myService.setAuthSubToken(sessionToken, null);

There is also an instance in the "add a worksheet" section

service.insert(worksheetFeedUrl, worksheet);

would be clearer as
myService.insert(worksheetFeedUrl, worksheet);

as well as in the "list feed" section
ListFeed feed = service.getFeed(listFeedUrl, ListFeed.class);

There are more examples but I won't list them all.  Am I just nit picking? 

Original issue reported on code.google.com by steven.anderson4@gmail.com on 7 May 2009 at 4:31

GoogleCodeExporter commented 9 years ago
Steven,
    Thanks for pointing out.  its a bug (internal tracker: 1838062).  We will fix the
typos as soon as possible.

Thanks.

Original comment by vbarat...@gmail.com on 7 May 2009 at 5:54