Ignore:
Timestamp:
2013-08-03T00:17:44+02:00 (11 years ago)
Author:
Don-vip
Message:

see #8902 - Small performance enhancements / coding style (patch by shinigami):

  • removed useles null checks before instanceof
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/MapImage.java

    r5484 r6105  
    130130        @Override
    131131        public boolean equals(Object obj) {
    132             if (obj == null || !(obj instanceof BoxProvider))
     132            if (!(obj instanceof BoxProvider))
    133133                return false;
    134134            if (obj instanceof MapImageBoxProvider) {
Note: See TracChangeset for help on using the changeset viewer.