Ignore:
Timestamp:
2017-04-16T20:54:54+02:00 (7 years ago)
Author:
Don-vip
Message:

sonar - squid:S1941 - Variables should not be declared before they are relevant

File:
1 edited

Legend:

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

    r11384 r11932  
    612612    @Override
    613613    public void apply(MultiCascade mc, OsmPrimitive osm, double scale, boolean pretendWayIsClosed) {
    614         Environment env = new Environment(osm, mc, null, this);
    615614        MapCSSRuleIndex matchingRuleIndex;
    616615        if (osm instanceof Node) {
     
    634633        }
    635634
     635        Environment env = new Environment(osm, mc, null, this);
    636636        // the declaration indices are sorted, so it suffices to save the last used index
    637637        int lastDeclUsed = -1;
Note: See TracChangeset for help on using the changeset viewer.