Ignore:
Timestamp:
2012-05-28T22:10:47+02:00 (12 years ago)
Author:
bastiK
Message:

applied #7720 - fix for OsmServerBackreferenceReader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmServerBackreferenceReader.java

    r3362 r5251  
    203203     *
    204204     * <ul>
    205      *   <li>if this reader reads referers for an {@see Node}, referring ways are always
     205     *   <li>if this reader reads referers for a {@see Node}, referring ways are always
    206206     *     read individually from the server</li>
    207207     *   <li>if this reader reads referers for an {@see Way} or a {@see Relation}, referring relations
     
    222222            if (isReadFull() ||primitiveType.equals(OsmPrimitiveType.NODE)) {
    223223                for (Way way: waysToCheck) {
    224                     if (!way.isNew() && way.isIncomplete()) {
     224                    if (!way.isNew() && way.hasIncompleteNodes()) {
    225225                        OsmServerObjectReader reader = new OsmServerObjectReader(way.getId(), OsmPrimitiveType.from(way), true /* read full */);
    226226                        DataSet wayDs = reader.parseOsm(progressMonitor.createSubTaskMonitor(1, false));
     
    233233                Collection<Relation> relationsToCheck  = new ArrayList<Relation>(ds.getRelations());
    234234                for (Relation relation: relationsToCheck) {
    235                     if (!relation.isNew() && relation.isIncomplete()) {
     235                    if (!relation.isNew() && relation.hasIncompleteMembers()) {
    236236                        OsmServerObjectReader reader = new OsmServerObjectReader(relation.getId(), OsmPrimitiveType.from(relation), true /* read full */);
    237237                        DataSet wayDs = reader.parseOsm(progressMonitor.createSubTaskMonitor(1, false));
Note: See TracChangeset for help on using the changeset viewer.