[OSM-talk] New in JOSM: Paste Tags
David Earl
david at frankieandshadow.com
Tue Feb 26 14:51:01 GMT 2008
On 26/02/2008 14:30, Frederik Ramm wrote:
> JOSM can also be a bitch when it comes to object modification, since it
> makes a point of only having exactly one copy of every object.
It wasn't that - it was that in PHP the test for a set being empty
includes it being null; in PHP you can say
if(empty(object->collection))... and it is fine if collection is null,
but in Java, you can't say if(object.collection.isEmpty()) when
collection is null. Silly mistake, I knew that, just wasn't paying
attention.
David
More information about the talk
mailing list