Ignore:
Timestamp:
2015-12-29T19:23:48+01:00 (6 years ago)
Author:
Don-vip
Message:

use LatLon.ZERO instead of new LatLon(0, 0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/ChildOrParentSelectorTest.groovy

    r8833 r9214  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.gui.mappaint.mapcss
    3 
    4 import org.openstreetmap.josm.data.osm.OsmPrimitiveType
    5 import org.openstreetmap.josm.gui.mappaint.MultiCascade
    6 import org.openstreetmap.josm.io.OsmReader
    73
    84import java.util.logging.Logger
     
    139import org.openstreetmap.josm.data.osm.DataSet
    1410import org.openstreetmap.josm.data.osm.Node
     11import org.openstreetmap.josm.data.osm.OsmPrimitiveType
    1512import org.openstreetmap.josm.data.osm.Relation
    1613import org.openstreetmap.josm.data.osm.RelationMember
    1714import org.openstreetmap.josm.data.osm.Way
    1815import org.openstreetmap.josm.gui.mappaint.Environment
     16import org.openstreetmap.josm.gui.mappaint.MultiCascade
    1917import org.openstreetmap.josm.gui.mappaint.mapcss.Selector.ChildOrParentSelector
     18import org.openstreetmap.josm.io.OsmReader
    2019
    2120class ChildOrParentSelectorTest {
     
    4443    def node(id) {
    4544        def n = new Node(id,1)
    46         n.setCoor(new LatLon(0,0))
     45        n.setCoor(LatLon.ZERO)
    4746        ds.addPrimitive(n)
    4847        return n
Note: See TracChangeset for help on using the changeset viewer.