Ignore:
Timestamp:
2016-12-13T02:16:07+01:00 (7 years ago)
Author:
Don-vip
Message:

sonar - squid:S1066 - Collapsible "if" statements should be merged

File:
1 edited

Legend:

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

    r11374 r11386  
    291291                break;
    292292            case MIRROR:
    293                 if ("mirror".equals(qName)) {
    294                     if (mirrorEntry != null) {
    295                         entry.addMirror(mirrorEntry);
    296                         mirrorEntry = null;
    297                     }
     293                if ("mirror".equals(qName) && mirrorEntry != null) {
     294                    entry.addMirror(mirrorEntry);
     295                    mirrorEntry = null;
    298296                }
    299297                break;
Note: See TracChangeset for help on using the changeset viewer.