Frederik Ramm schrieb: > The textbook Java way is to use getters and setters unless this is not > possible for some reason - even if you cannot imagine any situation > where they might be needed. The traditional JOSM way is to use public > members unless getters and setters are required right now.
Completely of topic: It's a pity that Java doesn't have "properties" like many other OO languages in order to avoid trivial getters and setters. Robin _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/josm-dev
