Last change
on this file since 12809 was 12809, checked in by bastiK, 7 years ago |
replace abstract class AbstractVisitor by interface OsmPrimitiveVisitor ; deprecate Visitor
data.osm.visitor.Visitor awkwardly mixes OsmPrimitive types and Changeset class; this may have been used in the past, but is no longer needed; AbstractVisitor should have been a super-interface of Visitor in the first place
- hopefully, this is binary compatible and plugins can be updated gracefully
|
-
Property svn:eol-style
set to
native
|
File size:
611 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.osm.visitor;
|
---|
3 |
|
---|
4 | import org.openstreetmap.josm.data.osm.Changeset;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * Implementation of the visitor scheme. Every @{link org.openstreetmap.josm.data.OsmPrimitive}
|
---|
8 | * can be visited by several different visitors.
|
---|
9 | * @since 8
|
---|
10 | * @deprecated class will be removed (use {@link OsmPrimitiveVisitor} if suitable)
|
---|
11 | */
|
---|
12 | @Deprecated
|
---|
13 | public interface Visitor extends OsmPrimitiveVisitor {
|
---|
14 | /**
|
---|
15 | * Visiting call for changesets.
|
---|
16 | * @param cs The changeset to inspect.
|
---|
17 | * @since 1523
|
---|
18 | */
|
---|
19 | void visit(Changeset cs);
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.