Changeset 8836 in josm for trunk/test


Ignore:
Timestamp:
2015-10-08T00:22:36+02:00 (4 years ago)
Author:
Don-vip
Message:

fix Checkstyle issues

Location:
trunk/test
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSourceFilterTest.java

    r8623 r8836  
    2727         * @param generator A generator to get the keys from.
    2828         */
    29         public CssGenerator(KeyValueDataGenerator generator) {
     29        CssGenerator(KeyValueDataGenerator generator) {
    3030            this.generator = generator;
    3131        }
  • trunk/test/unit/org/openstreetmap/josm/actions/mapmode/SelectActionTest.java

    r8624 r8836  
    125125
    126126    class SelectActionMock extends SelectAction {
    127         public SelectActionMock(MapFrame mapFrame, DataSet dataSet, OsmDataLayer layer) {
     127        SelectActionMock(MapFrame mapFrame, DataSet dataSet, OsmDataLayer layer) {
    128128            super(mapFrame);
    129129            try {
  • trunk/test/unit/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJobTest.java

    r8624 r8836  
    1717        private String url;
    1818
    19         public TestCachedTileLoaderJob(String url) throws IOException {
     19        TestCachedTileLoaderJob(String url) throws IOException {
    2020            super(getCache(), 30000, 30000, null);
    2121            this.url = url;
  • trunk/test/unit/org/openstreetmap/josm/data/imagery/WMTSTileSourceTest.java

    r8752 r8836  
    229229        LatLon expected = new LatLon(verifier.tileXYToLatLon(x, y, z + zoomOffset));
    230230        //System.out.println(z + "/" + x + "/" + y + " - result: " + result.toDisplayString() + " osmMercator: " +  expected.toDisplayString());
    231         assertEquals("Longitude" , expected.lon(), result.lon(), 1e-04);
     231        assertEquals("Longitude", expected.lon(), result.lon(), 1e-04);
    232232        assertEquals("Latitude", expected.lat(), result.lat(), 1e-04);
    233233    }
  • trunk/test/unit/org/openstreetmap/josm/data/projection/SwissGridTest.java

    r8540 r8836  
    4747        public EastNorth en;
    4848
    49         public ProjData(String name, double lon, double lat, double h1, double x, double y, double h2) {
     49        ProjData(String name, double lon, double lat, double h1, double x, double y, double h2) {
    5050            this.name = name;
    5151            ll = new LatLon(lat, lon);
  • trunk/test/unit/org/openstreetmap/josm/gui/dialogs/relation/sort/WayConnectionTypeCalculatorTest.java

    r8510 r8836  
    9292        Relation relation = getRelation("associatedStreet");
    9393        String actual = getConnections(wayConnectionTypeCalculator.updateLinks(relation.getMembers()));
    94         Assert.assertEquals("[NONE, I, I, I, NONE, I]" , actual);
     94        Assert.assertEquals("[NONE, I, I, I, NONE, I]", actual);
    9595        actual = getConnections(wayConnectionTypeCalculator.updateLinks(sorter.sortMembers(relation.getMembers())));
    9696        Assert.assertEquals("[FORWARD, FORWARD, I, I, I, I]", actual);
     
    106106        Assert.assertEquals("[BACKWARD, BACKWARD, BACKWARD, FPH FORWARD, FPH FORWARD, FPH FORWARD, FPH FORWARD]", actual);
    107107    }
    108 
    109 
    110108}
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/ToolbarPreferencesTest.java

    r8510 r8836  
    2323    private static class TestAction extends AbstractAction implements ParameterizedAction {
    2424
    25         public TestAction() {
     25        TestAction() {
    2626            putValue("toolbar", "action");
    2727        }
  • trunk/test/unit/org/openstreetmap/josm/io/session/SessionWriterTest.java

    r8803 r8836  
    3333
    3434    private static class OsmHeadlessJosExporter extends OsmDataSessionExporter {
    35         public OsmHeadlessJosExporter(OsmDataLayer layer) {
     35        OsmHeadlessJosExporter(OsmDataLayer layer) {
    3636            super(layer);
    3737        }
     
    4444
    4545    private static class OsmHeadlessJozExporter extends OsmDataSessionExporter {
    46         public OsmHeadlessJozExporter(OsmDataLayer layer) {
     46        OsmHeadlessJozExporter(OsmDataLayer layer) {
    4747            super(layer);
    4848        }
     
    5555
    5656    private static class GpxHeadlessJosExporter extends GpxTracksSessionExporter {
    57         public GpxHeadlessJosExporter(GpxLayer layer) {
     57        GpxHeadlessJosExporter(GpxLayer layer) {
    5858            super(layer);
    5959        }
     
    6666
    6767    private static class GpxHeadlessJozExporter extends GpxTracksSessionExporter {
    68         public GpxHeadlessJozExporter(GpxLayer layer) {
     68        GpxHeadlessJozExporter(GpxLayer layer) {
    6969            super(layer);
    7070        }
  • trunk/test/unit/org/openstreetmap/josm/tools/OsmUrlToBoundsTest.java

    r8513 r8836  
    5555        public Bounds bounds;
    5656
    57         public ParseTestItem(String url, Bounds bounds) {
     57        ParseTestItem(String url, Bounds bounds) {
    5858            this.url = url;
    5959            this.bounds = bounds;
     
    7979        }
    8080    }
    81 
    8281}
Note: See TracChangeset for help on using the changeset viewer.