Changeset 14977 in josm for trunk/test/unit/org/openstreetmap/josm/actions/CreateCircleActionTest.java
- Timestamp:
- 2019-04-09T01:32:56+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/CreateCircleActionTest.java
r14542 r14977 21 21 import org.openstreetmap.josm.tools.GeoPropertyIndex; 22 22 import org.openstreetmap.josm.tools.Geometry; 23 import org.openstreetmap.josm.tools.ReflectionUtils; 23 24 import org.openstreetmap.josm.tools.RightAndLefthandTraffic; 24 import org.openstreetmap.josm.tools.Utils;25 25 26 26 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 118 118 // Mock left/right hand traffic database 119 119 Field rlCache = RightAndLefthandTraffic.class.getDeclaredField("rlCache"); 120 Utils.setObjectsAccessible(rlCache);120 ReflectionUtils.setObjectsAccessible(rlCache); 121 121 Object origRlCache = rlCache.get(null); 122 122 rlCache.set(null, new GeoPropertyIndex<>(new ConstantTrafficHand(true), 24));
Note:
See TracChangeset
for help on using the changeset viewer.