GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Example error  XML
Forum Index -> General
Author Message
knuthe



Joined: 18/11/2009 08:51:36
Messages: 3
Offline

on the page http://www.geonames.org/source-code/ the java example seems to contain an error:

reads:
for (Toponym toponym : searchResult.toponyms) {

should read:
for (Toponym toponym : searchResult.getToponyms()) {

greetings from a new user.
Knut
marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

Thanks Knut, you are right.

Marc

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team