Ignore:
Timestamp:
2013-10-04T03:27:01+02:00 (11 years ago)
Author:
Don-vip
Message:

Sonar/Findbugs - Avoid commented-out lines of code, javadoc

File:
1 edited

Legend:

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

    r6069 r6296  
    8080    protected void mergePrimitive(OsmPrimitive source, Collection<? extends OsmPrimitive> candidates) {
    8181        if (!source.isNew() ) {
    82             // try to merge onto a matching primitive with the same
    83             // defined id
     82            // try to merge onto a matching primitive with the same defined id
    8483            //
    8584            if (mergeById(source))
    8685                return;
    87             //if (!source.isVisible())
    88             // ignore it
    89             //    return;
    9086        } else {
    9187            // ignore deleted primitives from source
     
    10197                if (target.hasEqualSemanticAttributes(source)) {
    10298                    mergedMap.put(source.getPrimitiveId(), target.getPrimitiveId());
    103                     // copy the technical attributes from other
    104                     // version
     99                    // copy the technical attributes from other version
    105100                    target.setVisible(source.isVisible());
    106101                    target.setUser(source.getUser());
Note: See TracChangeset for help on using the changeset viewer.