logo separator

[mkgmap-dev] [PATCH] cope with duplicate city names

From Mark Burton markb at ordern.com on Fri Jan 30 08:32:59 GMT 2009

> Thanks for the patch, just one thing though.
> 
> > -				sortedCities.put(p.getName(), null);
> > +				sortedCities.put(p.getName() + "@" + p, p);  
> 
> Really I'd just use a list here and sort it with Arrays.sort() and a
> comparator or something similar.  It will make everything simpler.

I thought it was simple. Do what you like, just don't squash the duplicates!




More information about the mkgmap-dev mailing list