kopia lustrzana https://github.com/JOSM/MapWithAI
Add license information and change a static field to public
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>pull/1/head
rodzic
e1bd79ca9c
commit
c1bc8ce95f
|
@ -1,3 +1,4 @@
|
||||||
|
// License: GPL. For details, see LICENSE file.
|
||||||
package org.openstreetmap.josm.plugins.mapwithai.data.validation.tests;
|
package org.openstreetmap.josm.plugins.mapwithai.data.validation.tests;
|
||||||
|
|
||||||
import static org.openstreetmap.josm.tools.I18n.marktr;
|
import static org.openstreetmap.josm.tools.I18n.marktr;
|
||||||
|
@ -36,7 +37,7 @@ public class StreetAddressTest extends Test {
|
||||||
*
|
*
|
||||||
* Copied from {@link org.openstreetmap.josm.data.validation.tests.Highways}
|
* Copied from {@link org.openstreetmap.josm.data.validation.tests.Highways}
|
||||||
*/
|
*/
|
||||||
private static final List<String> CLASSIFIED_HIGHWAYS = Arrays.asList("motorway", "motorway_link", "trunk",
|
public static final List<String> CLASSIFIED_HIGHWAYS = Arrays.asList("motorway", "motorway_link", "trunk",
|
||||||
"trunk_link", "primary", "primary_link", "secondary", "secondary_link", "tertiary", "tertiary_link",
|
"trunk_link", "primary", "primary_link", "secondary", "secondary_link", "tertiary", "tertiary_link",
|
||||||
"unclassified", "residential", "living_street");
|
"unclassified", "residential", "living_street");
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class StubEndsTest extends Test {
|
||||||
private double max_length = Config.getPref().getDouble(MapWithAIPlugin.NAME + ".stubendlength", 10);
|
private double max_length = Config.getPref().getDouble(MapWithAIPlugin.NAME + ".stubendlength", 10);
|
||||||
|
|
||||||
public StubEndsTest() {
|
public StubEndsTest() {
|
||||||
super(tr("Stub Ends"), tr("Look for short ends on ways"));
|
super(tr("Stub Ends ({0})", MapWithAIPlugin.NAME), tr("Look for short ends on ways"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// License: GPL. For details, see LICENSE file.
|
||||||
package org.openstreetmap.josm.plugins.mapwithai.data.validation.tests;
|
package org.openstreetmap.josm.plugins.mapwithai.data.validation.tests;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
|
|
Ładowanie…
Reference in New Issue