Ignore:
Timestamp:
2013-06-16T13:41:18+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #8799 - Follow conventional visitor design pattern by renaming visit(Visitor) to accept(Visitor) (missing files from previous commit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/Visitor.java

    r5421 r6010  
    1010 * Implementation of the visitor scheme. Every @{link org.openstreetmap.josm.data.OsmPrimitive}
    1111 * can be visited by several different visitors.
     12 * @since 8
    1213 */
    1314public interface Visitor {
     
    2021     * Visiting call for lines.
    2122     * @param w The way to inspect.
     23     * @since 64
    2224     */
    2325    void visit(Way w);
    2426    /**
    2527     * Visiting call for relations.
    26      * @param e The relation to inspect.
     28     * @param r The relation to inspect.
     29     * @since 343
    2730     */
    28     void visit(Relation e);
     31    void visit(Relation r);
    2932    /**
    3033     * Visiting call for changesets.
    3134     * @param cs The changeset to inspect.
     35     * @since 1523
    3236     */
    3337    void visit(Changeset cs);
Note: See TracChangeset for help on using the changeset viewer.