Ignore:
Timestamp:
2016-07-27T01:09:02+02:00 (4 years ago)
Author:
Don-vip
Message:

see #12472 - fix warning "ReferenceEquality"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java

    r10626 r10656  
    10331033                if (ref instanceof Relation && !ref.isIncomplete() && !ref.isDeleted()) {
    10341034                    for (RelationMember m : ((Relation) ref).getMembers()) {
    1035                         if (m.getMember() == osm) {
     1035                        if (osm.equals(m.getMember())) {
    10361036                            String testRole = m.getRole();
    10371037                            if (role.equals(testRole == null ? "" : testRole))
Note: See TracChangeset for help on using the changeset viewer.