Hi,

yes, there is a difference.

"Strategy" is used for
http://josm.openstreetmap.de/browser/trunk/src/org/openstreetmap/josm/gui/io/UploadStrategy.java

"Policy" is used for
http://josm.openstreetmap.de/browser/trunk/src/org/openstreetmap/josm/gui/io/MaxChangesetSizeExceededPolicy.java

The two concepts are orthogonal and have to be named differently. I've 
chosen "strategy" for the former because it represents three possible 
approaches to run uploads.  The later is called a "policy" because it 
represents  three possible decisions to be taken in case an upload hits 
the size limit for a changeset.

But feel free to change the names in whatever suits you better. Don't 
forget to update the online help too, though.
http://josm.openstreetmap.de/wiki/Help/Action/Upload

Regards
Karl

Am 03.01.2010 13:17, schrieb Frederik Ramm:
> Hi,
>
>      while working on translations I encountered some confusion in the
> source, namely it seems to me that the words "changeset upload strategy"
> and "changeset upload policy" are used interchangeably. I wanted to fix
> that but found that this would require renaming a number of methods and
> classes, so I refrained from it for the time being, not wanting to break
> anything - but could someone confirm that there is indeed no conceptual
> difference between the two, and ideally rename stuff (to strategy, I
> would suggest)?
>
> Or have I misread the situation and there is a difference?
>
> Bye
> Frederik
>
>    


_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to