Ignore:
Timestamp:
2015-05-17T02:40:26+02:00 (11 years ago)
Author:
Don-vip
Message:

code style - Method makes literal string comparisons passing the literal as an argument

File:
1 edited

Legend:

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

    r8345 r8373  
    538538            if (r.selector instanceof GeneralSelector) {
    539539                GeneralSelector gs = (GeneralSelector) r.selector;
    540                 if (gs.getBase().equals("setting")) {
     540                if ("setting".equals(gs.getBase())) {
    541541                    if (!gs.matchesConditions(env)) {
    542542                        continue;
Note: See TracChangeset for help on using the changeset viewer.