Changeset 9078 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSourceHandler.java
- Timestamp:
- 2015-12-02T00:05:09+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSourceHandler.java
r8846 r9078 17 17 private boolean inDoc, inRule, inCondition, inLine, inLineMod, inIcon, inArea, inScaleMax, inScaleMin; 18 18 private boolean hadLine, hadLineMod, hadIcon, hadArea; 19 private RuleElem rule = new RuleElem();20 21 private XmlStyleSource style;19 private final RuleElem rule = new RuleElem(); 20 21 private final XmlStyleSource style; 22 22 23 23 static class RuleElem { 24 private XmlCondition cond = new XmlCondition();24 private final XmlCondition cond = new XmlCondition(); 25 25 private Collection<XmlCondition> conditions; 26 26 private double scaleMax; 27 27 private double scaleMin; 28 private LinePrototype line = new LinePrototype();29 private LinemodPrototype linemod = new LinemodPrototype();30 private AreaPrototype area = new AreaPrototype();28 private final LinePrototype line = new LinePrototype(); 29 private final LinemodPrototype linemod = new LinemodPrototype(); 30 private final AreaPrototype area = new AreaPrototype(); 31 31 private IconPrototype icon = new IconPrototype(); 32 32 public void init() {
Note:
See TracChangeset
for help on using the changeset viewer.