Changeset 16360 in josm for trunk/src/org


Ignore:
Timestamp:
2020-04-19T15:13:08+02:00 (4 years ago)
Author:
simon04
Message:

MapCSSTagChecker: remove method (only used in one test)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java

    r16273 r16360  
    538538         *
    539539         * @param p the primitive to construct the error for
     540         * @param matchingSelector the matching selector (e.g., obtained via {@link #whichSelectorMatchesPrimitive})
     541         * @param env the environment
     542         * @param tester the tester
    540543         * @return an instance of {@link TestError}, or returns null if the primitive does not give rise to an error.
    541544         */
    542         List<TestError> getErrorsForPrimitive(OsmPrimitive p) {
    543             final Environment env = new Environment(p);
    544             return getErrorsForPrimitive(p, whichSelectorMatchesEnvironment(env), env, null);
    545         }
    546 
    547         private List<TestError> getErrorsForPrimitive(OsmPrimitive p, Selector matchingSelector, Environment env, Test tester) {
     545        protected List<TestError> getErrorsForPrimitive(OsmPrimitive p, Selector matchingSelector, Environment env, Test tester) {
    548546            List<TestError> res = new ArrayList<>();
    549547            if (matchingSelector != null && !errors.isEmpty()) {
Note: See TracChangeset for help on using the changeset viewer.